forked from callstack/linaria
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylelint-config.js
31 lines (31 loc) · 1.02 KB
/
stylelint-config.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
module.exports = {
rules: {
'comment-empty-line-before': null,
'declaration-empty-line-before': null,
// Fixes for errors in Stylelint rules
'selector-attribute-brackets-space-inside': null,
'selector-attribute-operator-space-before': null,
'selector-attribute-operator-space-after': null,
'function-whitespace-after': null,
'declaration-bang-space-before': null,
'function-name-case': null,
'no-descending-specificity': null,
'selector-combinator-space-after': null,
'selector-combinator-space-before': null,
'selector-descendant-combinator-no-non-space': null,
'selector-pseudo-class-parentheses-space-inside': null,
// Linaria specific rules
'property-no-vendor-prefix': true,
'string-no-newline': true,
'value-no-vendor-prefix': true,
'no-empty-source': null,
'no-extra-semicolons': null,
'no-missing-end-of-source-newline': null,
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['global'],
},
],
},
};