GUI CSS: Refactored view styles to nested structure meeting sasslint requirements...
[check_mk.git] / .sass-lint.yml
blobd93b7769a6a3ee223b038d55292d01c8d6d6a9f4
1 ## Documentation
2 # https://github.com/sasstools/sass-lint/tree/master/docs/rules
4 ## Linter Options
5 options:
6   merge-default-rules: false
8 ## Rule Configuration
9 rules:
10   bem-depth:
11     - 1
12     -
13       max-depth: 6
14   border-zero:
15    - 2
16    -
17       convention: 'none'
18   brace-style:
19     - 0
20     -
21       allow-single-line: false
22   clean-import-paths: 0
23   empty-line-between-blocks:
24     - 2
25     -
26       allow-single-line-rulesets: true
27   extends-before-mixins: 2
28   extends-before-declarations: 2
29   final-newline: 2
30   force-attribute-nesting: 0
31   force-element-nesting: 0
32   force-pseudo-nesting: 0
33   hex-length: 2
34   hex-notation:
35     - 2
36     -
37       style: lowercase
38   indentation:
39     - 2
40     -
41       size: 2
42   leading-zero:
43     - 0
44     -
45       include: true
46   mixins-before-declarations:
47     - 2
48     -
49       exclude:
50         - media
51   nesting-depth:
52     - 1
53     -
54       max-depth: 6
55   no-color-keywords: 2
56   no-color-literals:
57     - 0
58     -
59       allow-rgba: true
60   no-css-comments: 0
61   no-debug: 1
62   no-duplicate-properties:
63     - 1
64     -
65       exclude:
66         - src
67   no-empty-rulesets: 2
68   no-extends: 0
69   no-ids: 0
70   no-important: 1
71   no-invalid-hex: 2
72   no-mergeable-selectors: 0
73   no-misspelled-properties: 2
74   no-qualifying-elements:
75     - 2
76     -
77       allow-element-with-attribute: true
78   no-trailing-whitespace: 2
79   no-trailing-zero: 2
80   no-transition-all: 0
81   no-url-protocols: 2
82   no-vendor-prefixes: 1
83   no-warn: 0
84   one-declaration-per-line: 2
85   placeholder-in-extend: 0
86   property-sort-order:
87     - 1
88     -
89       order: 'recess'
90   property-units:
91     - 2
92     -
93       global: ['rem', 'vh', 'vw', '%', 's', 'em', 'px']
94   quotes:
95     - 2
96     -
97       style: double
98   shorthand-values: 2
99   single-line-per-selector: 0
100   space-after-bang: 2
101   space-after-colon: 2
102   space-after-comma: 2
103   space-around-operator: 2
104   space-before-bang: 2
105   space-before-brace: 2
106   space-before-colon: 2
107   space-between-parens: 2
108   trailing-semicolon: 2
109   url-quotes: 2
110   variable-for-property: 0
111   zero-unit: 2
112   # name formats
113   class-name-format:
114     - 2
115     -
116       allow-leading-underscore: false
117       convention: 'hyphenatedbem'
118       ignore:
119         - mod_cssanimations
120         - mod_csstransforms
121         - mod_supports
122         - mod_csstransforms3d
123         - mod_csstransitions
124   function-name-format:
125     - 2
126     -
127       allow-leading-underscore: false
128       convention: 'hyphenatedlowercase'
129   id-name-format:
130     - 2
131     -
132       allow-leading-underscore: false
133       convention: 'hyphenatedlowercase'
134   mixin-name-format:
135     - 0
136     -
137       allow-leading-underscore: false
138       convention: 'hyphenatedlowercase'
139   placeholder-name-format:
140     - 2
141     -
142       allow-leading-underscore: false
143       convention: 'hyphenatedlowercase'
144   variable-name-format:
145     - 0
146     -
147       allow-leading-underscore: false
148       convention: 'hyphenatedlowercase'