-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.stylelintrc.cjs
More file actions
41 lines (40 loc) · 949 Bytes
/
Copy path.stylelintrc.cjs
File metadata and controls
41 lines (40 loc) · 949 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
32
33
34
35
36
37
38
39
40
41
module.exports = {
extends: [
"stylelint-config-recommended",
"stylelint-config-recommended-scss",
"stylelint-config-recommended-vue/scss",
"stylelint-config-html/vue",
"stylelint-config-recess-order",
],
plugins: ["stylelint-prettier"],
overrides: [
{
files: ["**/*.{vue,html}"],
customSyntax: "postcss-html",
},
{
files: ["**/*.{css,scss}"],
customSyntax: "postcss-scss",
},
{
files: ["**/variables.module.scss"],
rules: {
"property-no-unknown": null,
},
},
],
rules: {
"prettier/prettier": true,
"no-empty-source": null,
"declaration-property-value-no-unknown": null,
"selector-pseudo-class-no-unknown": [
true,
{
ignorePseudoClasses: ["global", "export", "deep"],
},
],
"no-invalid-position-declaration": null,
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
},
};