mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 09:08:10 +08:00
DEV: Update linting setup (#31392)
This commit is contained in:
@ -1,42 +1,3 @@
|
||||
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",
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
extends: ["@discourse/lint-configs/stylelint"],
|
||||
};
|
||||
|
Reference in New Issue
Block a user