Skip to content

Commit

Permalink
fix: Remove stylistic rules
Browse files Browse the repository at this point in the history
With stylelint 16 stylistic rules were dropped and we recommended using prettier.
But we include the scss plugin which still has stylelistic rules that conflict.
So also disable those rules.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed May 4, 2024
1 parent b10dfcd commit 5e228d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ module.exports = {
],
ignoreFiles: ['**/*.js', '**/*.ts', '**/*.svg'],
rules: {
// Stylistic rules conflicting with prettier
'scss/operator-no-newline-after': null,
'scss/operator-no-newline-before': null,

'selector-type-no-unknown': null,
'rule-empty-line-before': [
'always',
Expand Down

0 comments on commit 5e228d7

Please sign in to comment.