forked from RedHat-UX/red-hat-design-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.yml
47 lines (41 loc) · 1.05 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
extends: stylelint-config-sass-guidelines
defaultSeverity: warning
rules:
selector-pseudo-element-colon-notation: single
max-nesting-depth:
- 3
- ignore:
- pseudo-classes
ignoreAtRules:
- each
- media
- supports
- include
selector-class-pattern: null
order/properties-alphabetical-order: null
indentation: 2
string-quotes: single
shorthand-property-no-redundant-values: true
selector-combinator-space-after: always
selector-combinator-space-before: always
scss/percent-placeholder-pattern:
- ^[a-z]+[-a-zA-Z-0-9]+?$
- message: Percent Placeholder should be camelCased and not use underscores
overrides:
- files:
- elements/**/*.css
extends: stylelint-config-standard
ignoreFiles:
- node_modules/**/*
rules:
selector-type-no-unknown:
- 2
- ignore:
- custom-elements
ignoreTypes:
- heading
- actions
selector-pseudo-element-no-unknown:
- true
- ignorePseudoElements:
- /part(.*)/