discourse/stylelint.config.mjs
Jarek Radosz 596e9c3147
DEV: Fix scss/no-global-function-names stylelint rule (#31280)
The ignored lines are using functions that have replacements ,but those
are not available on our sass version.
2025-02-12 10:51:32 +01:00

43 lines
1.3 KiB
JavaScript

export default {
extends: ["stylelint-config-standard-scss"],
rules: {
"color-no-invalid-hex": true,
"unit-no-unknown": true,
"at-rule-empty-line-before": null,
"rule-empty-line-before": [
"always",
{ except: ["after-single-line-comment", "first-nested"] },
],
"selector-class-pattern": null,
"custom-property-pattern": null,
"declaration-empty-line-before": "never",
"alpha-value-notation": null,
"color-function-notation": null,
"shorthand-property-no-redundant-values": null,
"declaration-block-no-redundant-longhand-properties": null,
"no-descending-specificity": null,
"keyframes-name-pattern": null,
"scss/dollar-variable-pattern": null,
"number-max-precision": null,
"scss/at-extend-no-missing-placeholder": null,
"scss/load-no-partial-leading-underscore": null,
"scss/operator-no-newline-after": null,
"selector-id-pattern": null,
"no-invalid-position-at-import-rule": null,
"scss/at-function-pattern": null,
"scss/comment-no-empty": null,
"scss/at-mixin-pattern": null,
"media-feature-range-notation": "prefix",
"property-no-vendor-prefix": [
true,
{
ignoreProperties: [
"backdrop-filter",
"text-size-adjust",
"user-select",
],
},
],
},
};