-
Notifications
You must be signed in to change notification settings - Fork 1
/
stylelint.config.cjs
44 lines (44 loc) · 1.06 KB
/
stylelint.config.cjs
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
42
43
44
/* eslint-env node */
module.exports = {
customSyntax: "postcss-scss",
extends: [
"stylelint-config-standard",
"stylelint-config-recommended-scss",
"stylelint-config-recommended-vue",
"stylelint-config-recommended-vue/scss",
"stylelint-config-prettier-scss",
],
// plugins: ['stylelint-declaration-block-no-ignored-properties'],
// add your custom config here
// https://stylelint.io/user-guide/configuration
overrides: [
{
customSyntax: "postcss-html",
files: ["*.vue", "**/*.vue"],
rules: {},
},
],
rules: {
"selector-class-pattern": null,
"at-rule-empty-line-before": [
"always",
{
except: [
"after-same-name",
"blockless-after-blockless",
"first-nested",
],
ignore: ["after-comment"],
ignoreAtRules: ["else"],
},
],
"selector-type-no-unknown": [
true,
{
ignore: ["custom-elements", "default-namespace"],
},
],
"no-descending-specificity": null,
"function-no-unknown": null,
},
};