Agree with the other person about .scss requires a link!
SCSS is difficult to find ESLINT that works in Angular. For example: a { @include flexbox(row) height: 100%; padding: 20px; border-radius: 3px; }
The above should be picked up in linting (missing semicolon on flexbox) but ESLINT doesn't. If I open the file vscode-prettier or eslint IS picking it up.
I have tried (npmjs.com/package/eslint-plugin-cs...) but doesn't appear to trigger: "overrides": [ { // TODO: this isn't triggering on flexbox semicolon errors "files": "*.scss", "plugins": ["css-modules"], "extends": ["plugin:css-modules/recommended"], "rules": { "css-modules/no-unused-class": [2, { "camelCase": true }], "css-modules/no-undef-class": [2, { "camelCase": true }] } },
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Agree with the other person about .scss requires a link!
SCSS is difficult to find ESLINT that works in Angular. For example:
a {
@include flexbox(row)
height: 100%;
padding: 20px;
border-radius: 3px;
}
The above should be picked up in linting (missing semicolon on flexbox) but ESLINT doesn't.
If I open the file vscode-prettier or eslint IS picking it up.
I have tried (npmjs.com/package/eslint-plugin-cs...) but doesn't appear to trigger:
"overrides": [
{
// TODO: this isn't triggering on flexbox semicolon errors
"files": "*.scss",
"plugins": ["css-modules"],
"extends": ["plugin:css-modules/recommended"],
"rules": {
"css-modules/no-unused-class": [2, { "camelCase": true }],
"css-modules/no-undef-class": [2, { "camelCase": true }]
}
},