-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylelint.config.cjs
43 lines (42 loc) · 1.23 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
const postcssScss = require('postcss-scss');
const postcssHtml = require('postcss-html');
module.exports = {
extends: [
'stylelint-config-standard',
'stylelint-config-recommended-scss',
'stylelint-config-rational-order',
'stylelint-prettier/recommended',
],
plugins: ['stylelint-order', 'stylelint-scss', 'stylelint-prettier'],
overrides: [
{
files: ['**/*.ts'],
customSyntax: postcssHtml(),
},
],
defaultSeverity: 'warning',
rules: {
"@typescript-eslint/no-explicit-any": "off",
'prettier/prettier': [
true,
{
singleQuote: true,
trailingComma: 'es5',
tabWidth: 4,
semi: true,
endOfLine: 'auto',
},
],
'no-empty-source': null,
'selector-class-pattern': '^([a-z]+[\\-_a-z0-9]*[^\\-]|[a-z]+)$',
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['deep'],
},
],
'value-no-vendor-prefix': null,
'font-family-no-missing-generic-family-keyword': null,
'font-family-name-quotes': null,
},
};