Skip to content

Commit

Permalink
feat: add/update some of the rules
Browse files Browse the repository at this point in the history
  • Loading branch information
hsnaydd committed Feb 7, 2023
1 parent e28fde4 commit f1131a8
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ module.exports = {
"declaration-property-value-disallowed-list": {
"/.+/": ["initial"],
"/^border/": ["none"],
"/^transition/": ["/all/"]
"/^transition/": ["/all/"],
'/^background/': ['http:', 'https:'],
},
"font-family-name-quotes": "always-where-recommended",
"font-weight-notation": "numeric",
"function-comma-newline-after": "always-multi-line",
"function-comma-space-after": "always-single-line",
"function-comma-space-before": "never",
'function-calc-no-unspaced-operator': true,
"function-linear-gradient-no-nonstandard-direction": true,
"function-parentheses-newline-inside": "always-multi-line",
"function-parentheses-space-inside": "never-single-line",
Expand Down Expand Up @@ -72,6 +74,12 @@ module.exports = {
],
"no-duplicate-selectors": true,
"no-eol-whitespace": true,
"no-invalid-position-at-import-rule": [
true,
{
"ignoreAtRules": ["use", "forward"],
},
],
"no-missing-end-of-source-newline": true,
"number-leading-zero": "always",
"number-no-trailing-zeros": true,
Expand Down Expand Up @@ -187,13 +195,23 @@ module.exports = {
"scss/at-extend-no-missing-placeholder": true,
"scss/at-function-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
"scss/at-import-no-partial-leading-underscore": true,
"scss/at-import-partial-extension-blacklist": ["scss"],
"scss/at-import-partial-extension": "never",
"scss/at-mixin-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
"scss/at-rule-no-unknown": true,
"scss/comment-no-empty": true,
"scss/declaration-nested-properties-no-divided-groups": true,
"scss/dollar-variable-colon-space-after": "always",
"scss/dollar-variable-colon-space-before": "never",
"scss/dollar-variable-no-missing-interpolation": true,
"scss/dollar-variable-pattern": "^[_]?[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
"scss/function-quote-no-quoted-strings-inside": true,
"scss/function-unquote-no-unquoted-strings-inside": true,
"scss/percent-placeholder-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
"scss/no-duplicate-mixins": true,
"scss/no-global-function-names": true,
"scss/operator-no-newline-after": true,
"scss/operator-no-newline-before": true,
"scss/operator-no-unspaced": true,
"scss/selector-no-redundant-nesting-selector": true,
"selector-attribute-quotes": "always",
"selector-combinator-space-after": "always",
Expand Down

0 comments on commit f1131a8

Please sign in to comment.