mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 22:09:55 +08:00

The ignored lines are using functions that have replacements ,but those are not available on our sass version.
43 lines
1.3 KiB
JavaScript
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",
|
|
],
|
|
},
|
|
],
|
|
},
|
|
};
|