Skip to content

Commit

Permalink
fixup! Refactor(stylelint-config): Switch from deprecated stylelint-c…
Browse files Browse the repository at this point in the history
…onfig-prettier
  • Loading branch information
literat committed Aug 7, 2024
1 parent f993f37 commit 9ad2aa4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
10 changes: 0 additions & 10 deletions configs/stylelint-config-spirit/plugins/prettier.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
const OFF = null;

export default {
plugins: ['stylelint-prettier'],
rules: {
'prettier/prettier': true,
},
overrides: [
{
files: ['*.test.scss'],
rules: {
'at-rule-empty-line-before': OFF,
},
},
],
};
8 changes: 8 additions & 0 deletions configs/stylelint-config-spirit/rules/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ export default {
// @see: https://github.com/stylelint/stylelint-config-recommended/issues/14
'declaration-block-no-redundant-longhand-properties': OFF,
},
overrides: [
{
files: ['*.test.scss'],
rules: {
'at-rule-empty-line-before': OFF,
},
},
],
};

0 comments on commit 9ad2aa4

Please sign in to comment.