-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.stylelintrc.yml
51 lines (44 loc) · 1.26 KB
/
.stylelintrc.yml
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
# See https://github.com/stylelint/stylelint/blob/master/docs/user-guide/rules.md
# Also https://github.com/kristerkari/stylelint-scss#list-of-rules
extends:
- stylelint-config-recommended
- stylelint-prettier/recommended
plugins:
- stylelint-scss
- stylelint-prettier
ignoreFiles:
- '**/*.js'
- '**/*.jsx'
- '**/*.ts'
- '**/*.tsx'
rules:
prettier/prettier: true
at-rule-no-unknown: null
scss/at-rule-no-unknown:
- true
- ignoreAtRules:
- use
- forward
# possible errors (these are all on by default)
no-descending-specificity: null
# limit language features
at-rule-no-vendor-prefix: true
color-named: always-where-possible
declaration-block-no-redundant-longhand-properties:
- true
- ignoreShorthands:
- grid-template
declaration-block-single-line-max-declarations: 1
declaration-no-important: true
function-url-no-scheme-relative: true
media-feature-name-no-vendor-prefix: true
property-no-vendor-prefix: true
selector-max-empty-lines: 0
selector-no-vendor-prefix: true
shorthand-property-no-redundant-values: true
value-no-vendor-prefix: true
# container queries trigger these
unit-no-unknown: null
no-empty-source: null
property-no-unknown: null
function-calc-no-invalid: null