mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-21 00:18:33 +08:00
The ignored lines are using functions that have replacements ,but those are not available on our sass version.
42 lines
1.3 KiB
JavaScript
Vendored
42 lines
1.3 KiB
JavaScript
Vendored
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",
|
|
],
|
|
},
|
|
],
|
|
},
|
|
};
|