Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 4c0623d

Browse files
author
Cole Sanderson
committed
Update to scss-lint 0.40.1
1 parent 9cf9a9f commit 4c0623d

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

css/.scss-lint.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ linters:
4343
DeclarationOrder:
4444
enabled: true
4545

46+
# Checks for "reason" comments above linter-disabling comments.
47+
DisableLinterReason:
48+
enabled: false
49+
4650
# Report the same property twice in a single rule set?
4751
DuplicateProperty:
4852
enabled: true
@@ -143,6 +147,11 @@ linters:
143147
include_nested: false
144148
max_properties: 10
145149

150+
# Report unknown CSS properties? (Ignores vendor prefixes.)
151+
PropertySpelling:
152+
enabled: true
153+
extra_properties: []
154+
146155
# Check for allowed units
147156
PropertyUnits:
148157
enabled: false
@@ -157,11 +166,6 @@ linters:
157166
'%'] # Other
158167
properties: {}
159168

160-
# Report unknown CSS properties? (Ignores vendor prefixes.)
161-
PropertySpelling:
162-
enabled: true
163-
extra_properties: []
164-
165169
# Checks for element selectors qualifying id, classe, or attribute selectors.
166170
QualifyingElement:
167171
enabled: true
@@ -177,7 +181,7 @@ linters:
177181
max_depth: 3
178182

179183
# Checks that selector names use a specified convention
180-
# Configure: 'hyphenated_lowercase', or 'BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern
184+
# Configure: 'hyphenated_lowercase', or 'strict_BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern
181185
SelectorFormat:
182186
enabled: true
183187
convention: hyphenated_BEM
@@ -210,6 +214,11 @@ linters:
210214
SpaceAfterPropertyName:
211215
enabled: true
212216

217+
# Checks for spaces following the name of a variable and before the colon
218+
# separating the variables's name from its value.
219+
SpaceAfterVariableName:
220+
enabled: true
221+
213222
# Report lack of space between selector and opening brace?
214223
SpaceBeforeBrace:
215224
enabled: true

0 commit comments

Comments
 (0)