Skip to content

Commit 54baaf6

Browse files
committed
Update dev dependencies
1 parent 4cf712b commit 54baaf6

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

.sass-lint.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ files:
1414

1515
rules:
1616

17+
# Enforce the use of the use of quotes in attribute values.
18+
attribute-quotes: 1
19+
1720
# Enforce how many elements a BEM selector can contain.
1821
bem-depth:
1922
- 1
@@ -110,18 +113,27 @@ rules:
110113
- 1
111114
- max-depth: 4
112115

116+
# Disallow the use of attribute selectors.
117+
no-attribute-selectors: 0
118+
113119
# Enforce the use of hexadecimal color values rather than literals.
114-
no-color-keyword: 1
120+
no-color-keywords: 1
115121

116122
# Disallow the use of color literals and basic color functions in any declarations other than variables or maps/lists.
117123
no-color-literals: 0
118124

125+
# Disallow the use of combinators.
126+
no-combinators: 0
127+
119128
# Enforce the use of Sass single-line comments and disallow CSS comments.
120129
no-css-comments: 0
121130

122131
# Enforce that `@debug` statements are not allowed to be used.
123132
no-debug: 1
124133

134+
# Disallow the use of certain properties.
135+
no-disallowed-properties: 0
136+
125137
# Enforce that duplicate properties are not allowed within the same block.
126138
no-duplicate-properties: 0
127139

@@ -159,6 +171,9 @@ rules:
159171
# Enforce whether the keyword all can be used with the `transition` or `transition-property` property.
160172
no-transition-all: 1
161173

174+
# Disallow the use of `*` (universal) selectors.
175+
no-universal-selectors: 0
176+
162177
# Enforce that protocols and domains are not used within URLs.
163178
no-url-protocols: 1
164179

@@ -202,7 +217,7 @@ rules:
202217
}
203218

204219
# Enforce that pseudo-elements must start with double colons, pseudo-classes must start with single colon.
205-
#pseudo-element: 1 TODO: UPCOMING RULE
220+
pseudo-element: 1
206221

207222
# Enforce whether single quotes or double quotes should be used for all strings.
208223
quotes:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"grunt-sass": "1.2.0",
3232
"grunt-sass-lint": "0.2.0",
3333
"load-grunt-tasks": "~3.5",
34-
"node-sass": "3.7.0",
35-
"sass-lint": "1.7.0"
34+
"node-sass": "3.8.0",
35+
"sass-lint": "1.8.2"
3636
},
3737
"scripts": {
3838
"test": "grunt travis --verbose"

0 commit comments

Comments
 (0)