@@ -11,23 +11,26 @@ export default {
11
11
files : [ '*.less' , '*.css' ] ,
12
12
plugins : [ 'stylelint-less' ] ,
13
13
rules : {
14
- 'at-rule-no-unknown' : undefined ,
14
+ 'at-rule-no-unknown' : 'never' ,
15
15
'color-no-invalid-hex' : true ,
16
- 'function-no-unknown' : undefined ,
16
+ 'function-no-unknown' : 'never' ,
17
17
'less/color-no-invalid-hex' : true ,
18
18
} ,
19
19
} ,
20
20
{
21
21
customSyntax : 'postcss-styled-syntax' ,
22
22
files : [ '*.js' , '*.jsx' , '*.ts' , '*.tsx' ] ,
23
23
rules : {
24
- 'no-empty-source' : undefined ,
25
- 'no-invalid-double-slash-comments' : undefined ,
26
- 'no-missing-end-of-source-newline' : undefined ,
24
+ 'no-empty-source' : 'never' ,
25
+ 'no-invalid-double-slash-comments' : 'never' ,
26
+ 'no-missing-end-of-source-newline' : 'never' ,
27
27
'property-no-vendor-prefix' : true ,
28
28
'value-no-vendor-prefix' : [ true , { ignoreValues : [ 'box' ] } ] ,
29
29
} ,
30
30
} ,
31
31
] ,
32
- plugins : [ 'stylelint-order' ] ,
32
+ plugins : [ 'stylelint-order' , 'stylelint-use-logical-spec' ] ,
33
+ rules : {
34
+ 'liberty/use-logical-spec' : [ true , { except : [ 'float' , / ^ ( ( m i n | m a x ) - ) ? ( h e i g h t | w i d t h ) $ / i] } ] ,
35
+ } ,
33
36
} ;
0 commit comments