-
Notifications
You must be signed in to change notification settings - Fork 79
/
sass-lint.yml
177 lines (177 loc) · 7.28 KB
/
sass-lint.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
#########################
## Sample Sass Lint File
#########################
# Linter Options
options:
# Don't merge default rules
merge-default-rules: false
# Set the formatter to 'html'
formatter: html
# Output file instead of logging results
output-file: 'sass-lint.html'
# Raise an error if more than 100 warnings are generated
max-warnings: 100
# File Options
files:
ignore:
- 'Resources/Public/Scss/Bootstrap/*.scss'
# Rule Configuration
rules:
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-warn.md
no-warn: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-debug.md
no-debug: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-ids.md
no-ids: 0
#h ttps://github.com/sasstools/sass-lint/blob/master/docs/rules/no-important.md
no-important: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/border-zero.md
border-zero:
- 0
-
convention: none
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/brace-style.md
brace-style:
- 0
-
style: 1tbs
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/class-name-format.md
class-name-format: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/clean-import-paths.md
clean-import-paths: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/declarations-before-nesting.md
declarations-before-nesting: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/empty-line-between-blocks.md
empty-line-between-blocks: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/extends-before-declarations.md
extends-before-declarations: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/final-newline.md
final-newline: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/force-attribute-nesting.md
force-attribute-nesting: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/force-element-nesting.md
force-element-nesting: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/force-pseudo-nesting.md
force-pseudo-nesting: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/function-name-format.md
function-name-format: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/hex-length.md
hex-length:
- 2
- style: short
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/hex-notation.md
hex-notation:
- 2
-
style: uppercase
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/indentation.md
indentation:
- 2
-
size: 4
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/leading-zero.md
leading-zero:
- 2
- include: true
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/max-file-line-count.md
max-file-line-count:
- 1
- length: 300
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/max-line-length.md
max-line-length:
- 1
- length: 100
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/mixins-before-declarations.md
mixins-before-declarations:
- 1
-
exclude:
- breakpoint
- mq
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-color-keywords.md
no-color-keywords: 1
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-combinators.md
no-combinators: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-css-comments.md
no-css-comments: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-disallowed-properties.md
no-disallowed-properties:
- 0
- properties:
- z-index
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-duplicate-properties.md
no-duplicate-properties: 2
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-empty-rulesets.md
no-empty-rulesets: 2
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-invalid-hex.md
no-invalid-hex: 2
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-mergeable-selectors.md
no-mergeable-selectors: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-misspelled-properties.md
no-misspelled-properties: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-qualifying-elements.md
no-qualifying-elements: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-trailing-whitespace.md
no-trailing-whitespace: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-trailing-zero.md
no-trailing-zero: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-universal-selectors.md
no-universal-selectors: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-url-domains.md
no-url-domains: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-url-protocols.md
no-url-protocols: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-vendor-prefixes.md
no-vendor-prefixes: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/one-declaration-per-line.md
one-declaration-per-line: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/property-sort-order.md
property-sort-order: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/property-units.md
property-units: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/pseudo-element.md
pseudo-element: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/quotes.md
quotes:
- 0
- style: single
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/shorthand-values.md
shorthand-values: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/single-line-per-selector.md
single-line-per-selector: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/space-after-bang.md
space-after-bang: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/space-after-colon.md
space-after-colon: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/space-after-comma.md
space-after-comma: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/space-around-operator.md
space-around-operator: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/space-before-bang.md
space-before-bang: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/space-before-brace.md
space-before-brace: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/space-before-colon.md
space-before-colon:
- 0
- include: false
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/space-between-parens.md
space-between-parens:
- 0
- include: false
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/trailing-semicolon.md
trailing-semicolon: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/url-quotes.md
url-quotes: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/variable-for-property.md
variable-for-property:
- 0
-
properties:
- content
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/variable-name-format.md
variable-name-format: 0
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/zero-unit.md
zero-unit:
- 0
- include: false