-
Notifications
You must be signed in to change notification settings - Fork 14
/
.stylelintrc.cjs
45 lines (45 loc) · 1.33 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
module.exports = {
extends: ['stylelint-config-standard'],
plugins: ['stylelint-order', 'stylelint-declaration-block-no-ignored-properties'],
rules: {
'plugin/declaration-block-no-ignored-properties': true,
'function-calc-no-unspaced-operator': true, // can cause out of memory in some cases
'keyframes-name-pattern': null,
'selector-class-pattern': null,
'custom-property-pattern': null,
'declaration-block-no-redundant-longhand-properties': null,
'custom-property-empty-line-before': null,
'length-zero-no-unit': null,
'no-descending-specificity': null,
'value-keyword-case': [
'lower',
{
ignoreKeywords: ['currentColor'],
},
],
'color-function-notation': null,
'order/order': ['custom-properties', 'declarations'],
'order/properties-order': ['width', 'height'],
'rule-empty-line-before': null,
'at-rule-no-unknown': [
true,
{
ignoreAtRules: ['container'],
},
],
'property-no-unknown': [
true,
{
ignoreProperties: ['container-type', 'container-name'],
},
],
'media-feature-range-notation': null,
},
overrides: [
{
files: ['blocks/**/*.css', 'solutions/**/*.css'],
ignoreFiles: ['**/test/**/*.css'],
plugins: ['./stylelint-force-app-name-prefix.cjs'],
},
],
};