/
stylelint.config.cjs
32 lines (32 loc) · 1.04 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
module.exports = {
extends: [
'stylelint-config-standard-scss', // extends ["stylelint-config-standard", "stylelint-config-recommended-scss"]
'stylelint-config-html',
'stylelint-config-standard-vue', // extends ["stylelint-config-standard", "stylelint-config-recommended-vue"]
'stylelint-config-standard-vue/scss',
'stylelint-config-prettier-scss', // extends "stylelint-config-prettier"
],
overrides: [
{
"files": ["*.html", "**/*.html"],
"customSyntax": "postcss-html",
},
{
"files": ["*.md", "**/*.md"],
"customSyntax": "postcss-markdown",
},
],
rules: {
'no-empty-source': null,
'font-family-no-missing-generic-family-keyword': null,
'block-no-empty': null,
'no-descending-specificity': null,
'color-hex-length': 'long',
'at-rule-no-unknown': null,
'value-keyword-case': null,
'selector-class-pattern': null,
'rule-empty-line-before': null,
'declaration-block-no-redundant-longhand-properties': null,
'color-function-notation': 'legacy',
},
}