1 | # use the default settings to keep this file small
|
2 | options:
|
3 | merge-default-rules: true
|
4 |
|
5 | rules:
|
6 | # BEM all the things
|
7 | class-name-format:
|
8 | - 1
|
9 | - convention: hyphenatedbem
|
10 | placeholder-name-format:
|
11 | - 1
|
12 | - convention: hyphenatedbem
|
13 |
|
14 | # sassception! allow a maximum nesting depth of 4 levels deep
|
15 | nesting-depth:
|
16 | - 1
|
17 | - max-depth: 4
|
18 |
|
19 | # those mixins do not have to be used before any other declarations
|
20 | mixins-before-declarations:
|
21 | - 1
|
22 | - exclude: [ 'mediaquery', 'breakpoint', 'attention', 'nojsonly', 'jsonly' ]
|
23 |
|
24 | # allow non-leading zero values like .2rem or .4rem
|
25 | leading-zero: 0
|
26 |
|
27 | # do not sort properties by name
|
28 | property-sort-order: 0
|
29 |
|
30 | # allow stuff like 1/2 or 1/4
|
31 | space-around-operator: 0
|
32 |
|
33 | # allow warnings for better sass-maps debugging
|
34 | no-warn: 0
|
35 |
|
36 | # allow !important but use with care!
|
37 | no-important: 0
|
38 |
|
39 | # allow extending from normal classes, this helps a lot with contentcol
|
40 | # but be careful when extending from nested classes (which should not
|
41 | # happen all to often with BEM
|
42 | placeholder-in-extend: 0
|
43 |
|
44 | # allow id-selectors. shame: remove this after all legacy code is gone
|
45 | no-ids: 0
|
46 |
|
47 | # allow custom vendor specific properties
|
48 | no-misspelled-properties:
|
49 | - 1
|
50 | -
|
51 | 'extra-properties':
|
52 | - 'overflow-scrolling'
|
53 | - 'font-smooting'
|
54 |
|
55 | # allow non-standard prefixes for font-smoothing etc.
|
56 | no-vendor-prefixes:
|
57 | - 1
|
58 | -
|
59 | 'ignore-non-standard': 1
|
60 |
|
61 | # allow nested attribute and pseudo-selectors, this makes stuff
|
62 | # more readable for humans and allow some edge-case-nesting issues,
|
63 | # but still force element nesting, so the nesting-depth-rule makes sense
|
64 | force-pseudo-nesting: 0
|
65 | force-attribute-nesting: 0
|