-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylelint.config.mjs
More file actions
31 lines (31 loc) · 938 Bytes
/
stylelint.config.mjs
File metadata and controls
31 lines (31 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
export default {
extends: [
"stylelint-config-recommended",
"stylelint-config-recommended-scss",
"stylelint-prettier/recommended",
],
plugins: ["stylelint-prettier", "stylelint-scss"],
ignoreFiles: ["**/.*", "**/dist"],
rules: {
"scss/operator-no-newline-after": [true, { severity: "warning" }],
"scss/at-extend-no-missing-placeholder": null,
"no-duplicate-selectors": [true, { severity: "warning" }],
"no-descending-specificity": [true, { severity: "warning" }],
"rule-empty-line-before": [
"always",
{
except: ["first-nested"],
ignore: ["after-comment"],
},
],
"at-rule-empty-line-before": [
"always",
{
except: ["first-nested", "after-same-name"],
ignore: ["after-comment", "blockless-after-blockless"],
ignoreAtRules: ["if", "else"],
},
],
"prettier/prettier": [true, { endOfLine: "auto" }],
},
};