salesforcedx-vscode
salesforcedx-vscode copied to clipboard
expectedcss error on "style" attribute in .html
Summary
Getting an error on using identifier for a style attribute
Steps To Reproduce:
<td style={hdr.style}>
Expected result
There should not be an error message / warning. The code is valid (works when deployed).
Actual result
Getting the following errors & warnings (at style={...}
)
- } expectedcss(css-rcurlyexpected)
- at-rule or selector expectedcss(css-ruleorselectorexpected)
- Do not use empty rulesetscss(emptyRules)
Additional information
Salesforce Extension Version in VS Code: v54.11.0
SFDX CLI Version: sfdx-cli/7.148.3 win32-x64 node-v16.14.2
OS and version: Version: 1.67.1 (system setup) Commit: da15b6fd3ef856477bf6f4fb29ba1b7af717770d Date: 2022-05-06T12:37:03.389Z Electron: 17.4.1 Chromium: 98.0.4758.141 Node.js: 16.13.0 V8: 9.8.177.13-electron.0 OS: Windows_NT x64 10.0.19043
Hi @savage25, thanks for submitting the issue. I am able to repro and confirmed that this is a bug.
This issue has been linked to a new work item: W-11203509
+1 on this
any update for this?