Skip to content

Commit a46e96d

Browse files
authored
feat: report needless and invalid stylelint disables, and require descriptions (#535)
These mirror options we've got enabled in other linting like Rubocop, ESLint, and TypeScript
1 parent 14e895a commit a46e96d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

variants/frontend-base/.stylelintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
module.exports = {
22
plugins: ['stylelint-scss'],
33
extends: ['stylelint-config-recommended-scss'],
4+
reportNeedlessDisables: true,
5+
reportInvalidScopeDisables: true,
6+
reportDescriptionlessDisables: true,
47
rules: {
58
'no-descending-specificity': null,
69
'string-no-newline': true,

0 commit comments

Comments
 (0)