Skip to content
This repository was archived by the owner on May 19, 2023. It is now read-only.

Commit 400939c

Browse files
Merge pull request #125 from rynpsc/reset-rules
Reset rules rather than set them to a default
2 parents 050b681 + 0dca1b1 commit 400939c

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

src/index.js

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ module.exports = {
2626
// this is fixable but lets keep it
2727
// 'custom-property-empty-line-before': 'never'
2828

29-
'declaration-bang-space-after': 'never',
30-
'declaration-bang-space-before': 'always',
29+
'declaration-bang-space-after': null,
30+
'declaration-bang-space-before': null,
3131
'declaration-colon-newline-after': null,
3232
'declaration-colon-space-after': null,
3333
'declaration-colon-space-before': null,
@@ -48,24 +48,23 @@ module.exports = {
4848
'block-opening-brace-newline-before': null,
4949
'block-opening-brace-space-after': null,
5050
'block-opening-brace-space-before': null,
51-
'selector-attribute-brackets-space-inside': 'never',
51+
'selector-attribute-brackets-space-inside': null,
5252

53-
// prettier doesnt care about this space
54-
// 'selector-attribute-operator-space-after': 'never'
55-
// 'selector-attribute-operator-space-before': 'never'
53+
'selector-attribute-operator-space-after': null,
54+
'selector-attribute-operator-space-before': null,
5655

57-
'selector-attribute-quotes': 'always',
56+
'selector-attribute-quotes': null,
5857
'selector-combinator-space-after': null,
5958
'selector-combinator-space-before': null,
6059
'selector-descendant-combinator-no-non-space': null,
61-
'selector-pseudo-class-parentheses-space-inside': 'never',
60+
'selector-pseudo-class-parentheses-space-inside': null,
6261
'selector-list-comma-newline-after': null,
6362
'selector-list-comma-newline-before': null,
6463
'selector-list-comma-space-after': null,
6564
'selector-list-comma-space-before': null,
66-
'media-feature-colon-space-after': 'always',
67-
'media-feature-colon-space-before': 'never',
68-
'media-feature-parentheses-space-inside': 'never',
65+
'media-feature-colon-space-after': null,
66+
'media-feature-colon-space-before': null,
67+
'media-feature-parentheses-space-inside': null,
6968

7069
// prettier doesnt care about this space
7170
// 'media-feature-range-operator-space-after': 'always',
@@ -75,11 +74,10 @@ module.exports = {
7574
'media-query-list-comma-newline-before': null,
7675
'media-query-list-comma-space-after': null,
7776
'media-query-list-comma-space-before': null,
78-
'at-rule-empty-line-before': null,
7977
'at-rule-name-newline-after': null,
80-
'at-rule-name-space-after': 'always',
78+
'at-rule-name-space-after': null,
8179
'at-rule-semicolon-newline-after': null,
82-
'at-rule-semicolon-space-before': 'never',
80+
'at-rule-semicolon-space-before': null,
8381

8482
// prettier doesnt care about this whitespace
8583
// 'comment-whitespace-inside': 'always'
@@ -90,7 +88,6 @@ module.exports = {
9088
'no-empty-first-line': null,
9189
'unicode-bom': null,
9290
'number-leading-zero': null,
93-
'rule-empty-line-before': null,
9491

9592
// prettier lowercases hex colors
9693
'color-hex-case': null,

0 commit comments

Comments
 (0)