-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylelint.config.mjs
39 lines (39 loc) · 1 KB
/
stylelint.config.mjs
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
/** @type {import('stylelint').Config} */
export default {
customSyntax: "postcss-scss",
extends: [
"stylelint-config-standard",
"stylelint-config-recommended-scss",
"stylelint-config-prettier-scss",
],
overrides: [
{
customSyntax: "postcss-html",
files: ["*.vue", "**/*.vue"],
rules: {},
},
],
// plugins: ['stylelint-declaration-block-no-ignored-properties'],
// add your custom config here
// https://stylelint.io/user-guide/configuration
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,
"scss/at-extend-no-missing-placeholder": null,
},
};