Skip to content

Commit dcc1c9d

Browse files
authored
Merge pull request #30 from etchteam/fix/disable-stylistic-rules
Disable all the stylistic rules that sass-guidelines adds
2 parents 3b4f7ee + e02a9ad commit dcc1c9d

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

src/index.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,25 @@ module.exports = {
2525
true,
2626
{ ignore: ['attribute'], severity: 'warning' },
2727
],
28-
'@stylistic/function-parentheses-space-inside': 'never-single-line',
28+
// Disable all the stylelistic rules that sass-guidelines adds so that prettier can control them
29+
'@stylistic/block-opening-brace-space-before': null,
30+
'@stylistic/color-hex-case': null,
31+
'@stylistic/declaration-bang-space-after': null,
32+
'@stylistic/declaration-bang-space-before': null,
33+
'@stylistic/declaration-block-semicolon-newline-after': null,
34+
'@stylistic/declaration-block-semicolon-space-before': null,
35+
'@stylistic/declaration-block-trailing-semicolon': null,
36+
'@stylistic/declaration-colon-space-after': null,
37+
'@stylistic/declaration-colon-space-before': null,
38+
'@stylistic/function-comma-space-after': null,
39+
'@stylistic/function-parentheses-space-inside': null,
40+
'@stylistic/indentation': null,
41+
'@stylistic/media-feature-parentheses-space-inside': null,
42+
'@stylistic/no-missing-end-of-source-newline': null,
43+
'@stylistic/number-leading-zero': null,
44+
'@stylistic/number-no-trailing-zeros': null,
45+
'@stylistic/selector-list-comma-newline-after': null,
46+
'@stylistic/string-quotes': null,
2947
},
3048
ignoreFiles: ['node_modules', 'bin', 'obj', '*.*', '!*.css', '!*.scss'],
3149
};

0 commit comments

Comments
 (0)