-
Notifications
You must be signed in to change notification settings - Fork 53
/
.stylelintrc.yaml
60 lines (57 loc) · 1.36 KB
/
.stylelintrc.yaml
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
extends:
- stylelint-config-standard
- stylelint-config-sass-guidelines
plugins:
- stylelint-color-format
- stylelint-scss
# - stylelint-no-indistinguishable-colors
ignoreFiles:
- kbase-extension/static/**/*.{less,scss,css}
rules:
color-named: never
color-no-hex: true
color-format/format:
format: rgb
color-function-notation: modern
declaration-block-no-redundant-longhand-properties: true
declaration-block-no-shorthand-property-overrides: true
font-family-no-missing-generic-family-keyword:
- true
- ignoreFontFamilies:
- FontAwesome
- "Glyphicons Halflings"
- kbase-icons
function-url-quotes: never
length-zero-no-unit: true
max-nesting-depth: 10
no-descending-specificity: null
# set to true to enable
# plugin/stylelint-no-indistinguishable-colors: false
selector-class-pattern: null
selector-max-compound-selectors: 5
selector-max-class: 5
selector-max-id: 1
selector-no-qualifying-type:
- true
- ignore:
- attribute
- class
shorthand-property-no-redundant-values: true
unit-allowed-list:
- [em, px, rem, "%"]
- ignoreProperties:
x:
- background-image
s:
- transition
deg:
- background
value-keyword-case:
- lower
- ignoreKeywords: [
/^\$/
]
- ignoreProperties: [
"/^font.*/",
url
]