-
Notifications
You must be signed in to change notification settings - Fork 13
/
.stylelintrc.yml
42 lines (42 loc) · 1.36 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
extends:
- stylelint-config-standard-scss
- stylelint-config-prettier-scss
rules:
# override default values
color-function-notation: legacy #recommanded "modern" value leads to build errors
color-hex-length: long
declaration-block-no-redundant-longhand-properties:
- true
- ignoreShorthands:
- transition #too many properties are summarised with this one
declaration-empty-line-before: never
no-invalid-position-at-import-rule:
- true
- ignoreAtRules:
- use
- forward
- include
number-max-precision: 6
property-no-vendor-prefix:
- true
- ignoreProperties:
- appearance # experimental rule, that don't behave the same without prefix
- text-size-adjust # experimental rule, that don't behave the same without prefix
selector-pseudo-element-no-unknown:
- true
- ignorePseudoElements:
- ng-deep
value-keyword-case:
- lower
- ignoreKeywords:
- Arial
- Roboto
- BlinkMacSystemFont
scss/at-mixin-argumentless-call-parentheses: always
# deactivate unwanted rules
scss/double-slash-comment-empty-line-before: null
shorthand-property-no-redundant-values: null
scss/no-global-function-names: null
# rules that need some refactoring to be enabled
# no-descending-specificity: null
# selector-class-pattern: ^([a-z][a-z0-9]*)([-_]{0,2}[a-z0-9]+)*$