Skip to content

Commit f3a1654

Browse files
Merge pull request #10 from superReal/next
stylelint 8 compatibility
2 parents 943a72b + a7bdff8 commit f3a1654

File tree

6 files changed

+3848
-808
lines changed

6 files changed

+3848
-808
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
# stylelint Config superReal Changelog
22

3-
## Next (XX/XX/XX)
3+
## Next (20/12/17)
4+
5+
- stylelint 8 compatibility
6+
- Update outdated npm modules
7+
- Fix pre-commit tasks
8+
49

510
### Major
611

7-
-
12+
-
813

914
### Minor
1015

index.js

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = {
2828
'function-name-case': 'lower',
2929
'function-parentheses-newline-inside': null,
3030
'function-parentheses-space-inside': null,
31-
'function-url-data-uris': null,
31+
'function-url-scheme-whitelist': ['data'],
3232
'function-url-no-scheme-relative': true,
3333
'function-url-quotes': null,
3434
'function-whitelist': null,
@@ -104,10 +104,8 @@ module.exports = {
104104

105105
/* Declaration block */
106106
'declaration-block-no-duplicate-properties': true,
107-
'declaration-block-no-ignored-properties': null,
108107
'declaration-block-no-redundant-longhand-properties': true,
109108
'declaration-block-no-shorthand-property-overrides': true,
110-
'declaration-block-properties-order': null,
111109
'declaration-block-semicolon-newline-after': 'always',
112110
'declaration-block-semicolon-newline-before': null,
113111
'declaration-block-semicolon-space-after': null,
@@ -150,10 +148,12 @@ module.exports = {
150148
'selector-max-compound-selectors': 5,
151149
'selector-max-specificity': null,
152150
'selector-nested-pattern': null,
153-
'selector-no-attribute': null,
154-
'selector-no-combinator': null,
151+
'selector-max-attribute': 4,
152+
'selector-max-combinators': 4,
153+
'selector-max-id': 0,
155154
'selector-no-qualifying-type': null,
156-
'selector-no-type': null,
155+
'selector-max-type': 4,
156+
'selector-max-universal': 0,
157157
'selector-no-vendor-prefix': true,
158158
'selector-pseudo-class-case': 'lower',
159159
'selector-pseudo-class-no-unknown': true,
@@ -172,10 +172,6 @@ module.exports = {
172172
'selector-list-comma-space-after': 'always-single-line',
173173
'selector-list-comma-space-before': 'never',
174174

175-
/* Rule */
176-
'rule-nested-empty-line-before': null,
177-
'rule-non-nested-empty-line-before': null,
178-
179175
/* Media feature */
180176
'media-feature-colon-space-after': 'always',
181177
'media-feature-colon-space-before': 'never',
@@ -184,7 +180,6 @@ module.exports = {
184180
'media-feature-name-no-unknown': true,
185181
'media-feature-name-no-vendor-prefix': true,
186182
'media-feature-name-whitelist': null,
187-
// 'media-feature-parentheses-space-inside': null,
188183
'media-feature-range-operator-space-after': 'always',
189184
'media-feature-range-operator-space-before': 'never',
190185

@@ -208,9 +203,6 @@ module.exports = {
208203
'at-rule-semicolon-newline-after': 'always',
209204
'at-rule-whitelist': null,
210205

211-
/* Stylelint disable */
212-
'stylelint-disable-reason': null,
213-
214206
/* Comment */
215207
'comment-empty-line-before': null,
216208
'comment-no-empty': true,
@@ -230,16 +222,13 @@ module.exports = {
230222
'max-empty-lines': 2,
231223
'max-line-length': 120,
232224
'max-nesting-depth': 5,
233-
'no-browser-hacks': null,
234225
'no-descending-specificity': true,
235226
'no-duplicate-selectors': true,
236227
'no-empty-source': true,
237228
'no-eol-whitespace': true,
238229
'no-extra-semicolons': true,
239-
'no-indistinguishable-colors': null,
240230
'no-invalid-double-slash-comments': true,
241231
'no-missing-end-of-source-newline': true,
242232
'no-unknown-animations': true,
243-
'no-unsupported-browser-features': null,
244233
},
245234
};

0 commit comments

Comments
 (0)