Files
Masto/stylelint.config.js
T
Zoë Bijl 25af845912 [chore] lint sass files (#103)
commit c811679128
Author: Zoë Bijl <code@moiety.me>
Date:   Wed Oct 15 21:02:39 2025 +0200

    [chore] remove unused override

commit a3e56447aa
Author: Zoë Bijl <code@moiety.me>
Date:   Wed Oct 15 18:57:22 2025 +0200

    [chore] lint Sass files
2025-10-15 21:08:31 +02:00

40 lines
1.2 KiB
JavaScript

module.exports = {
extends: ["stylelint-config-standard-scss"],
ignoreFiles: [
"coverage/**/*",
"node_modules/**/*",
"public/assets/**/*",
"public/packs/**/*",
"public/packs-test/**/*",
"vendor/**/*",
],
reportDescriptionlessDisables: true,
reportInvalidScopeDisables: true,
reportNeedlessDisables: true,
rules: {
"alpha-value-notation": "number",
"at-rule-empty-line-before": null,
"color-function-notation": null,
"color-hex-length": null,
"custom-property-empty-line-before": ["always", {
"except": [
"after-custom-property",
"first-nested",
"after-comment",
],
}],
"custom-property-pattern": "(([a-z]+)(-[a-z]+)*([-]{2}[a-z]+(-[a-z]+)?)?)", // allows kebab-case and kebab-case--state
"declaration-block-no-redundant-longhand-properties": null,
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"number-max-precision": 8,
"property-no-vendor-prefix": null,
"selector-class-pattern": null,
"selector-id-pattern": null,
"value-keyword-case": null,
"value-no-vendor-prefix": null,
"scss/dollar-variable-empty-line-before": null,
"scss/no-global-function-names": null,
},
};