Skip to content

Commit

Permalink
feat: report needless and invalid stylelint disables, and require des…
Browse files Browse the repository at this point in the history
…criptions (#535)

These mirror options we've got enabled in other linting like Rubocop,
ESLint, and TypeScript
  • Loading branch information
G-Rath authored Mar 8, 2024
1 parent 14e895a commit a46e96d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions variants/frontend-base/.stylelintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
module.exports = {
plugins: ['stylelint-scss'],
extends: ['stylelint-config-recommended-scss'],
reportNeedlessDisables: true,
reportInvalidScopeDisables: true,
reportDescriptionlessDisables: true,
rules: {
'no-descending-specificity': null,
'string-no-newline': true,
Expand Down

0 comments on commit a46e96d

Please sign in to comment.