-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Stylelint The depreciated rules have been moved to a dedicated plugin. We can now update our Stylelint linter to the latest version. Let's do so, as well as update related dependencies.
- Loading branch information
Showing
3 changed files
with
1,048 additions
and
948 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,60 @@ | ||
{ | ||
"plugins": [ | ||
"@stylistic/stylelint-plugin", | ||
"stylelint-order" | ||
], | ||
"extends": [ | ||
"stylelint-config-recommended-scss", | ||
"stylelint-config-standard", | ||
"stylelint-config-standard-scss", | ||
"stylelint-config-recommended-vue" | ||
], | ||
"rules": { | ||
"declaration-no-important": true, | ||
"declaration-block-single-line-max-declarations": 1, | ||
"no-invalid-double-slash-comments": true, | ||
"function-no-unknown": null, | ||
"no-descending-specificity": null, | ||
"selector-type-no-unknown": null, | ||
"at-rule-no-unknown": null, | ||
"no-duplicate-selectors": null, | ||
"length-zero-no-unit": true, | ||
"value-keyword-case": "lower", | ||
"selector-type-case": "lower", | ||
"color-no-invalid-hex": true, | ||
"string-no-newline": true, | ||
"unit-no-unknown": true, | ||
"property-no-unknown": true, | ||
"block-no-empty": true, | ||
"comment-no-empty": true, | ||
"no-extra-semicolons": true, | ||
"no-invalid-double-slash-comments": true, | ||
"declaration-no-important": true, | ||
"declaration-block-single-line-max-declarations": 1, | ||
"number-leading-zero": "never", | ||
"number-no-trailing-zeros": null, | ||
"string-quotes": "single", | ||
"length-zero-no-unit": true, | ||
"value-keyword-case": "lower", | ||
"property-case": "lower", | ||
"declaration-colon-space-after": "always", | ||
"selector-type-case": "lower", | ||
"selector-list-comma-newline-after": "always", | ||
"no-eol-whitespace": true, | ||
"shorthand-property-no-redundant-values": null, | ||
"declaration-empty-line-before": null, | ||
"selector-class-pattern": null, | ||
"color-function-notation": null, | ||
"alpha-value-notation": null, | ||
"comment-empty-line-before": null, | ||
"property-no-vendor-prefix": null, | ||
"selector-pseudo-element-colon-notation": null, | ||
"at-rule-empty-line-before": null, | ||
"font-family-name-quotes": null, | ||
"color-hex-length": null, | ||
"@stylistic/no-extra-semicolons": true, | ||
"@stylistic/number-leading-zero": "never", | ||
"@stylistic/number-no-trailing-zeros": null, | ||
"@stylistic/property-case": "lower", | ||
"@stylistic/string-quotes": "single", | ||
"@stylistic/declaration-colon-space-after": "always", | ||
"@stylistic/selector-list-comma-newline-after": "always", | ||
"@stylistic/no-eol-whitespace": true, | ||
"@stylistic/indentation": 2, | ||
"@stylistic/block-opening-brace-space-before": "always", | ||
"@stylistic/declaration-colon-space-before": "never", | ||
"order/properties-alphabetical-order": true, | ||
"indentation": 2, | ||
"scss/at-import-partial-extension": null, | ||
"function-no-unknown": null, | ||
"scss/at-import-no-partial-leading-underscore": null, | ||
"no-descending-specificity": null, | ||
"scss/no-global-function-names": null, | ||
"selector-type-no-unknown": null, | ||
"at-rule-no-unknown": null, | ||
"no-duplicate-selectors": null, | ||
"block-opening-brace-space-before": "always", | ||
"declaration-colon-space-before": "never" | ||
"scss/at-import-no-partial-leading-underscore": null, | ||
"scss/at-import-partial-extension": null, | ||
"scss/load-no-partial-leading-underscore": null, | ||
"scss/double-slash-comment-empty-line-before": null, | ||
"scss/double-slash-comment-whitespace-inside": null, | ||
"scss/dollar-variable-pattern": null | ||
} | ||
} |
Oops, something went wrong.