-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstylelint.config.mjs
More file actions
60 lines (59 loc) · 1.63 KB
/
Copy pathstylelint.config.mjs
File metadata and controls
60 lines (59 loc) · 1.63 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/** @type {import('stylelint').Config} */
const config = {
extends: ['stylelint-config-standard'],
plugins: [
'stylelint-declaration-block-no-ignored-properties',
'stylelint-order'
],
rules: {
'alpha-value-notation': 'number',
'at-rule-no-deprecated': [
true,
{
ignoreAtRules: ['apply']
}
],
'at-rule-no-unknown': [
true,
{
ignoreAtRules: [
'apply',
'config',
'custom-variant',
'layer',
'plugin',
'reference',
'responsive',
'screen',
'source',
'tailwind',
'theme',
'utility',
'variant',
'variants'
]
}
],
'color-hex-length': 'short',
'function-no-unknown': [
true,
{
ignoreFunctions: ['theme']
}
],
'length-zero-no-unit': true,
'no-descending-specificity': null,
'order/order': [
'dollar-variables',
'custom-properties',
'declarations',
'at-rules',
'rules'
],
'order/properties-alphabetical-order': true,
'plugin/declaration-block-no-ignored-properties': true,
'selector-pseudo-element-colon-notation': 'double',
'shorthand-property-no-redundant-values': true
}
};
export default config;