|
|
@ -14,8 +14,9 @@ |
|
|
|
"eslint-config-prettier": "^10.1.8", |
|
|
|
"eslint-plugin-prettier": "^5.5.4", |
|
|
|
"prettier": "^3.6.2", |
|
|
|
"stylelint": "^15.11.0", |
|
|
|
"stylelint-config-standard-scss": "^11.1.0" |
|
|
|
"stylelint": "^16.24.0", |
|
|
|
"stylelint-config-standard-scss": "^16.0.0", |
|
|
|
"@stylistic/stylelint-plugin": "^4.0.0" |
|
|
|
}, |
|
|
|
"type": "module", |
|
|
|
"prettier": { |
|
|
@ -29,7 +30,7 @@ |
|
|
|
"scss/spectre*/**" |
|
|
|
], |
|
|
|
"plugins": [ |
|
|
|
"stylelint-scss" |
|
|
|
"@stylistic/stylelint-plugin" |
|
|
|
], |
|
|
|
"extends": "stylelint-config-standard-scss", |
|
|
|
"rules": { |
|
|
@ -48,79 +49,30 @@ |
|
|
|
] |
|
|
|
} |
|
|
|
], |
|
|
|
"at-rule-name-case": "lower", |
|
|
|
"at-rule-name-space-after": "always", |
|
|
|
"at-rule-semicolon-newline-after": "always", |
|
|
|
"at-rule-semicolon-space-before": "never", |
|
|
|
"block-closing-brace-empty-line-before": "never", |
|
|
|
"block-closing-brace-newline-after": [ |
|
|
|
"always", |
|
|
|
{ |
|
|
|
"ignoreAtRules": [ |
|
|
|
"else", |
|
|
|
"if" |
|
|
|
] |
|
|
|
} |
|
|
|
], |
|
|
|
"block-closing-brace-newline-before": "always", |
|
|
|
"block-no-empty": true, |
|
|
|
"block-opening-brace-newline-after": "always", |
|
|
|
"block-opening-brace-space-before": "always", |
|
|
|
"color-hex-case": "lower", |
|
|
|
"color-named": "never", |
|
|
|
"color-no-invalid-hex": true, |
|
|
|
"comment-empty-line-before": "always", |
|
|
|
"comment-no-empty": true, |
|
|
|
"comment-whitespace-inside": "always", |
|
|
|
"declaration-bang-space-after": "never", |
|
|
|
"declaration-bang-space-before": "always", |
|
|
|
"declaration-block-no-duplicate-properties": true, |
|
|
|
"declaration-block-no-redundant-longhand-properties": null, |
|
|
|
"declaration-block-no-shorthand-property-overrides": true, |
|
|
|
"declaration-block-semicolon-newline-after": "always", |
|
|
|
"declaration-block-semicolon-newline-before": "never-multi-line", |
|
|
|
"declaration-block-semicolon-space-before": "never", |
|
|
|
"declaration-block-trailing-semicolon": "always", |
|
|
|
"declaration-colon-newline-after": "always-multi-line", |
|
|
|
"declaration-colon-space-before": "never", |
|
|
|
"font-family-no-duplicate-names": true, |
|
|
|
"font-family-no-missing-generic-family-keyword": true, |
|
|
|
"font-weight-notation": "named-where-possible", |
|
|
|
"function-calc-no-unspaced-operator": true, |
|
|
|
"function-comma-newline-after": "always-multi-line", |
|
|
|
"function-comma-space-after": "always-single-line", |
|
|
|
"function-comma-space-before": "never", |
|
|
|
"function-max-empty-lines": 0, |
|
|
|
"function-name-case": "lower", |
|
|
|
"function-parentheses-newline-inside": "always-multi-line", |
|
|
|
"function-parentheses-space-inside": "never-single-line", |
|
|
|
"function-url-quotes": "always", |
|
|
|
"function-url-scheme-allowed-list": "https", |
|
|
|
"function-whitespace-after": "always", |
|
|
|
"indentation": 2, |
|
|
|
"length-zero-no-unit": true, |
|
|
|
"max-empty-lines": 1, |
|
|
|
"max-line-length": 88, |
|
|
|
"media-feature-colon-space-after": "always", |
|
|
|
"media-feature-colon-space-before": "never", |
|
|
|
"media-feature-name-case": "lower", |
|
|
|
"media-feature-name-no-unknown": true, |
|
|
|
"media-feature-parentheses-space-inside": "never", |
|
|
|
"media-feature-range-operator-space-after": "always", |
|
|
|
"media-feature-range-operator-space-before": "always", |
|
|
|
"no-descending-specificity": null, |
|
|
|
"no-duplicate-at-import-rules": true, |
|
|
|
"no-duplicate-selectors": true, |
|
|
|
"no-empty-first-line": true, |
|
|
|
"no-empty-source": true, |
|
|
|
"no-eol-whitespace": true, |
|
|
|
"no-extra-semicolons": true, |
|
|
|
"no-invalid-double-slash-comments": true, |
|
|
|
"no-missing-end-of-source-newline": true, |
|
|
|
"number-leading-zero": "always", |
|
|
|
"number-no-trailing-zeros": true, |
|
|
|
"number-max-precision": 1, |
|
|
|
"property-case": "lower", |
|
|
|
"property-no-unknown": true, |
|
|
|
"rule-empty-line-before": [ |
|
|
|
"always", |
|
|
@ -133,28 +85,14 @@ |
|
|
|
] |
|
|
|
} |
|
|
|
], |
|
|
|
"selector-attribute-brackets-space-inside": "never", |
|
|
|
"selector-attribute-operator-space-after": "never", |
|
|
|
"selector-attribute-operator-space-before": "never", |
|
|
|
"selector-attribute-quotes": "always", |
|
|
|
"selector-combinator-space-after": "always", |
|
|
|
"selector-combinator-space-before": "always", |
|
|
|
"selector-descendant-combinator-no-non-space": true, |
|
|
|
"selector-list-comma-newline-after": "always", |
|
|
|
"selector-list-comma-newline-before": "never-multi-line", |
|
|
|
"selector-max-empty-lines": 0, |
|
|
|
"selector-pseudo-class-case": "lower", |
|
|
|
"selector-pseudo-class-no-unknown": true, |
|
|
|
"selector-pseudo-class-parentheses-space-inside": "never", |
|
|
|
"selector-pseudo-element-case": "lower", |
|
|
|
"selector-pseudo-element-colon-notation": "double", |
|
|
|
"selector-pseudo-element-no-unknown": true, |
|
|
|
"selector-type-case": "lower", |
|
|
|
"selector-type-no-unknown": true, |
|
|
|
"shorthand-property-no-redundant-values": true, |
|
|
|
"string-no-newline": true, |
|
|
|
"string-quotes": "double", |
|
|
|
"unit-case": "lower", |
|
|
|
"unit-no-unknown": true, |
|
|
|
"unit-allowed-list": [ |
|
|
|
"%", |
|
|
@ -166,7 +104,6 @@ |
|
|
|
"vw" |
|
|
|
], |
|
|
|
"value-keyword-case": "lower", |
|
|
|
"value-list-max-empty-lines": 0, |
|
|
|
"value-no-vendor-prefix": true, |
|
|
|
"scss/at-else-closing-brace-newline-after": "always-last-in-chain", |
|
|
|
"scss/at-else-closing-brace-space-after": "always-intermediate", |
|
|
@ -216,7 +153,71 @@ |
|
|
|
"scss/operator-no-newline-before": true, |
|
|
|
"scss/operator-no-unspaced": true, |
|
|
|
"scss/percent-placeholder-pattern": "^[a-z-]+$", |
|
|
|
"scss/selector-no-redundant-nesting-selector": true |
|
|
|
"scss/selector-no-redundant-nesting-selector": true, |
|
|
|
"@stylistic/at-rule-name-case": "lower", |
|
|
|
"@stylistic/at-rule-name-space-after": "always", |
|
|
|
"@stylistic/at-rule-semicolon-newline-after": "always", |
|
|
|
"@stylistic/at-rule-semicolon-space-before": "never", |
|
|
|
"@stylistic/block-closing-brace-empty-line-before": "never", |
|
|
|
"@stylistic/block-closing-brace-newline-after": [ |
|
|
|
"always", |
|
|
|
{ |
|
|
|
"ignoreAtRules": [ |
|
|
|
"else", |
|
|
|
"if" |
|
|
|
] |
|
|
|
} |
|
|
|
], |
|
|
|
"@stylistic/block-closing-brace-newline-before": "always", |
|
|
|
"@stylistic/block-opening-brace-newline-after": "always", |
|
|
|
"@stylistic/block-opening-brace-space-before": "always", |
|
|
|
"@stylistic/color-hex-case": "lower", |
|
|
|
"@stylistic/declaration-bang-space-after": "never", |
|
|
|
"@stylistic/declaration-bang-space-before": "always", |
|
|
|
"@stylistic/declaration-block-semicolon-newline-after": "always", |
|
|
|
"@stylistic/declaration-block-semicolon-newline-before": "never-multi-line", |
|
|
|
"@stylistic/declaration-block-semicolon-space-before": "never", |
|
|
|
"@stylistic/declaration-block-trailing-semicolon": "always", |
|
|
|
"@stylistic/declaration-colon-newline-after": "always-multi-line", |
|
|
|
"@stylistic/declaration-colon-space-before": "never", |
|
|
|
"@stylistic/function-comma-newline-after": "always-multi-line", |
|
|
|
"@stylistic/function-comma-space-after": "always-single-line", |
|
|
|
"@stylistic/function-comma-space-before": "never", |
|
|
|
"@stylistic/function-max-empty-lines": 0, |
|
|
|
"@stylistic/function-parentheses-newline-inside": "always-multi-line", |
|
|
|
"@stylistic/function-parentheses-space-inside": "never-single-line", |
|
|
|
"@stylistic/function-whitespace-after": "always", |
|
|
|
"@stylistic/indentation": 2, |
|
|
|
"@stylistic/max-empty-lines": 1, |
|
|
|
"@stylistic/max-line-length": 88, |
|
|
|
"@stylistic/media-feature-colon-space-after": "always", |
|
|
|
"@stylistic/media-feature-colon-space-before": "never", |
|
|
|
"@stylistic/media-feature-name-case": "lower", |
|
|
|
"@stylistic/media-feature-parentheses-space-inside": "never", |
|
|
|
"@stylistic/media-feature-range-operator-space-after": "always", |
|
|
|
"@stylistic/media-feature-range-operator-space-before": "always", |
|
|
|
"@stylistic/no-empty-first-line": true, |
|
|
|
"@stylistic/no-eol-whitespace": true, |
|
|
|
"@stylistic/no-extra-semicolons": true, |
|
|
|
"@stylistic/no-missing-end-of-source-newline": true, |
|
|
|
"@stylistic/number-leading-zero": "always", |
|
|
|
"@stylistic/number-no-trailing-zeros": true, |
|
|
|
"@stylistic/property-case": "lower", |
|
|
|
"@stylistic/selector-attribute-brackets-space-inside": "never", |
|
|
|
"@stylistic/selector-attribute-operator-space-after": "never", |
|
|
|
"@stylistic/selector-attribute-operator-space-before": "never", |
|
|
|
"@stylistic/selector-combinator-space-after": "always", |
|
|
|
"@stylistic/selector-combinator-space-before": "always", |
|
|
|
"@stylistic/selector-descendant-combinator-no-non-space": true, |
|
|
|
"@stylistic/selector-list-comma-newline-after": "always", |
|
|
|
"@stylistic/selector-list-comma-newline-before": "never-multi-line", |
|
|
|
"@stylistic/selector-max-empty-lines": 0, |
|
|
|
"@stylistic/selector-pseudo-class-case": "lower", |
|
|
|
"@stylistic/selector-pseudo-class-parentheses-space-inside": "never", |
|
|
|
"@stylistic/selector-pseudo-element-case": "lower", |
|
|
|
"@stylistic/string-quotes": "double", |
|
|
|
"@stylistic/unit-case": "lower", |
|
|
|
"@stylistic/value-list-max-empty-lines": 0 |
|
|
|
} |
|
|
|
} |
|
|
|
} |