This repository has been archived by the owner on May 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
/
index.js
143 lines (117 loc) · 4.76 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
'use strict';
module.exports = {
rules: {
indentation: null,
linebreaks: null,
'max-line-length': null,
'function-comma-newline-after': null,
'function-comma-newline-before': null,
'function-comma-space-after': null,
'function-comma-space-before': null,
'function-max-empty-lines': null,
'function-parentheses-newline-inside': null,
'function-parentheses-space-inside': null,
// prettier doesnt care about this space lets keep it here
// 'function-whitespace-after': 'always'|'never',
'value-list-comma-newline-after': null,
'value-list-comma-newline-before': null,
'value-list-comma-space-after': null,
'value-list-comma-space-before': null,
'value-list-max-empty-lines': null,
// this is fixable but lets keep it
// 'custom-property-empty-line-before': 'never'
'declaration-bang-space-after': 'never',
'declaration-bang-space-before': 'always',
'declaration-colon-newline-after': null,
'declaration-colon-space-after': null,
'declaration-colon-space-before': null,
'declaration-block-semicolon-newline-after': null,
'declaration-block-semicolon-newline-before': null,
'declaration-block-semicolon-space-after': null,
'declaration-block-semicolon-space-before': null,
// prettier always adds the trailing semicolon
'declaration-block-trailing-semicolon': null,
'block-closing-brace-empty-line-before': null,
'block-closing-brace-newline-after': null,
'block-closing-brace-newline-before': null,
'block-closing-brace-space-after': null,
'block-closing-brace-space-before': null,
'block-opening-brace-newline-after': null,
'block-opening-brace-newline-before': null,
'block-opening-brace-space-after': null,
'block-opening-brace-space-before': null,
'selector-attribute-brackets-space-inside': 'never',
// prettier doesnt care about this space
// 'selector-attribute-operator-space-after': 'never'
// 'selector-attribute-operator-space-before': 'never'
'selector-attribute-quotes': 'always',
'selector-combinator-space-after': null,
'selector-combinator-space-before': null,
'selector-descendant-combinator-no-non-space': null,
'selector-pseudo-class-parentheses-space-inside': 'never',
'selector-list-comma-newline-after': null,
'selector-list-comma-newline-before': null,
'selector-list-comma-space-after': null,
'selector-list-comma-space-before': null,
'media-feature-colon-space-after': 'always',
'media-feature-colon-space-before': 'never',
'media-feature-parentheses-space-inside': 'never',
// prettier doesnt care about this space
// 'media-feature-range-operator-space-after': 'always',
// 'media-feature-range-operator-space-before': 'always'
'media-query-list-comma-newline-after': null,
'media-query-list-comma-newline-before': null,
'media-query-list-comma-space-after': null,
'media-query-list-comma-space-before': null,
'at-rule-empty-line-before': null,
'at-rule-name-newline-after': null,
'at-rule-name-space-after': 'always',
'at-rule-semicolon-newline-after': null,
'at-rule-semicolon-space-before': 'never',
// prettier doesnt care about this whitespace
// 'comment-whitespace-inside': 'always'
'max-empty-lines': null,
'no-eol-whitespace': null,
'no-missing-end-of-source-newline': null,
'no-empty-first-line': null,
'unicode-bom': null,
'number-leading-zero': null,
'rule-empty-line-before': null,
// prettier lowercases hex colors
'color-hex-case': null,
// prettier removes trailing zeros
'number-no-trailing-zeros': null,
// prettier lowercases units
'unit-case': null,
// prettier lowercases properties
'property-case': null,
// prettier lowercases pseudo class selectors
'selector-pseudo-class-case': null,
// prettier lowercases pseudo element selectors
'selector-pseudo-element-case': null,
// prettier removes empty lines in selector blocks
'selector-max-empty-lines': null,
// prettier lowercases media feature names
'media-feature-name-case': null,
// prettier lowercases @ rule names
'at-rule-name-case': null,
// prettier removes extra semicolons
'no-extra-semicolons': null,
// prettier has its own quotes rule
'string-quotes': null,
'scss/at-else-closing-brace-newline-after': null,
'scss/at-else-closing-brace-space-after': null,
'scss/at-else-empty-line-before': null,
'scss/at-else-if-parentheses-space-before': null,
'scss/at-function-parentheses-space-before': null,
'scss/at-if-closing-brace-newline-after': null,
'scss/at-if-closing-brace-space-after': null,
'scss/at-mixin-parentheses-space-before': null,
'scss/dollar-variable-colon-newline-after': null,
'scss/dollar-variable-colon-space-after': null,
'scss/dollar-variable-colon-space-before': null,
'scss/operator-no-newline-after': null,
'scss/operator-no-newline-before': null,
'scss/operator-no-unspaced': null,
},
};