0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Add some "avoid errors" rules

This commit is contained in:
Trevor Buckner
2023-05-26 03:00:25 -04:00
parent f05e0db14b
commit 1ebdf318bf
3 changed files with 17549 additions and 17555 deletions

View File

@@ -1,5 +1,7 @@
{
"extends": ["stylelint-config-recess-order"],
"extends": [
"stylelint-config-recess-order",
"stylelint-config-recommended"],
"plugins": [
"stylelint-stylistic",
"./stylelint_plugins/align-colons.js",
@@ -8,24 +10,28 @@
],
"customSyntax": "postcss-less",
"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/string-quotes": "double",
"stylistic/string-quotes": "single",
"no-duplicate-selectors": true,
"stylistic/color-hex-case": "upper",
"color-hex-length": "long",
"stylistic/selector-combinator-space-after": "always",
"stylistic/selector-combinator-space-before": "always",
"selector-attribute-quotes": "always",
"stylistic/selector-attribute-operator-space-before": "always",
"stylistic/selector-attribute-operator-space-after": "always",
"stylistic/selector-attribute-operator-space-before": "never",
"stylistic/selector-attribute-operator-space-after": "never",
"stylistic/selector-attribute-brackets-space-inside": "never",
"stylistic/block-opening-brace-space-before": "always",
"stylistic/declaration-block-trailing-semicolon": "always",
"naturalcrit/declaration-colon-min-space-before": 1,
"stylistic/declaration-colon-space-after": "always",
"stylistic/number-leading-zero": "always",
"function-url-quotes": "always",
"function-url-scheme-disallowed-list": ["data"],
"function-url-quotes": ["always", { "except": ["empty"] }],
"function-url-scheme-disallowed-list": ["data","http"],
"font-weight-notation": "named-where-possible",
"font-family-name-quotes": "always-unless-keyword",
"comment-whitespace-inside": "always",

35084
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -122,7 +122,7 @@
"postcss-less": "^6.0.0",
"stylelint": "^15.6.2",
"stylelint-config-recess-order": "^4.0.0",
"stylelint-config-standard": "^33.0.0",
"stylelint-config-recommended": "^12.0.0",
"stylelint-stylistic": "^0.4.2",
"supertest": "^6.3.3"
}