-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc.cjs
32 lines (32 loc) · 995 Bytes
/
.stylelintrc.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-recommended',
rules: {
'color-named': 'never',
'font-family-name-quotes': 'always-where-required',
'font-weight-notation': 'named-where-possible',
'function-url-no-scheme-relative': true,
'function-url-quotes': 'always',
'string-quotes': 'single',
'value-keyword-case': 'lower',
'unit-disallowed-list': [],
'max-empty-lines': 2,
'no-descending-specificity': true,
'no-duplicate-selectors': true,
'font-family-no-missing-generic-family-keyword': null,
'property-no-unknown': [
true,
{
ignoreProperties: ['/^lost-/']
}
],
'selector-pseudo-class-no-unknown': [true, { ignorePseudoClasses: ['global', 'local'] }],
'function-no-unknown': [true, { ignoreFunctions: ['theme'] }],
'at-rule-no-unknown': [
true,
{ ignoreAtRules: ['tailwind', 'apply', 'variants', 'responsive', 'screen'] }
]
},
ignoreFiles: ['node_modules/*', 'build/**'],
defaultSeverity: 'error',
customSyntax: 'postcss-html'
};