mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-03 21:22:39 +00:00
Add some "avoid errors" rules
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": ["stylelint-config-recess-order"],
|
"extends": [
|
||||||
|
"stylelint-config-recess-order",
|
||||||
|
"stylelint-config-recommended"],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"stylelint-stylistic",
|
"stylelint-stylistic",
|
||||||
"./stylelint_plugins/align-colons.js",
|
"./stylelint_plugins/align-colons.js",
|
||||||
@@ -8,24 +10,28 @@
|
|||||||
],
|
],
|
||||||
"customSyntax": "postcss-less",
|
"customSyntax": "postcss-less",
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"no-descending-specificity": null,
|
||||||
|
"at-rule-no-unknown": null,
|
||||||
|
"function-no-unknown": null,
|
||||||
|
"font-family-no-missing-generic-family-keyword": null,
|
||||||
"stylistic/indentation": "tab",
|
"stylistic/indentation": "tab",
|
||||||
"stylistic/string-quotes": "double",
|
"stylistic/string-quotes": "single",
|
||||||
"no-duplicate-selectors": true,
|
"no-duplicate-selectors": true,
|
||||||
"stylistic/color-hex-case": "upper",
|
"stylistic/color-hex-case": "upper",
|
||||||
"color-hex-length": "long",
|
"color-hex-length": "long",
|
||||||
"stylistic/selector-combinator-space-after": "always",
|
"stylistic/selector-combinator-space-after": "always",
|
||||||
"stylistic/selector-combinator-space-before": "always",
|
"stylistic/selector-combinator-space-before": "always",
|
||||||
"selector-attribute-quotes": "always",
|
"selector-attribute-quotes": "always",
|
||||||
"stylistic/selector-attribute-operator-space-before": "always",
|
"stylistic/selector-attribute-operator-space-before": "never",
|
||||||
"stylistic/selector-attribute-operator-space-after": "always",
|
"stylistic/selector-attribute-operator-space-after": "never",
|
||||||
"stylistic/selector-attribute-brackets-space-inside": "never",
|
"stylistic/selector-attribute-brackets-space-inside": "never",
|
||||||
"stylistic/block-opening-brace-space-before": "always",
|
"stylistic/block-opening-brace-space-before": "always",
|
||||||
"stylistic/declaration-block-trailing-semicolon": "always",
|
"stylistic/declaration-block-trailing-semicolon": "always",
|
||||||
"naturalcrit/declaration-colon-min-space-before": 1,
|
"naturalcrit/declaration-colon-min-space-before": 1,
|
||||||
"stylistic/declaration-colon-space-after": "always",
|
"stylistic/declaration-colon-space-after": "always",
|
||||||
"stylistic/number-leading-zero": "always",
|
"stylistic/number-leading-zero": "always",
|
||||||
"function-url-quotes": "always",
|
"function-url-quotes": ["always", { "except": ["empty"] }],
|
||||||
"function-url-scheme-disallowed-list": ["data"],
|
"function-url-scheme-disallowed-list": ["data","http"],
|
||||||
"font-weight-notation": "named-where-possible",
|
"font-weight-notation": "named-where-possible",
|
||||||
"font-family-name-quotes": "always-unless-keyword",
|
"font-family-name-quotes": "always-unless-keyword",
|
||||||
"comment-whitespace-inside": "always",
|
"comment-whitespace-inside": "always",
|
||||||
|
|||||||
35084
package-lock.json
generated
35084
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -122,7 +122,7 @@
|
|||||||
"postcss-less": "^6.0.0",
|
"postcss-less": "^6.0.0",
|
||||||
"stylelint": "^15.6.2",
|
"stylelint": "^15.6.2",
|
||||||
"stylelint-config-recess-order": "^4.0.0",
|
"stylelint-config-recess-order": "^4.0.0",
|
||||||
"stylelint-config-standard": "^33.0.0",
|
"stylelint-config-recommended": "^12.0.0",
|
||||||
"stylelint-stylistic": "^0.4.2",
|
"stylelint-stylistic": "^0.4.2",
|
||||||
"supertest": "^6.3.3"
|
"supertest": "^6.3.3"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user