forked from GatherPress/gatherpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.js
34 lines (34 loc) · 832 Bytes
/
.stylelintrc.js
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
module.exports = {
extends: [
'stylelint-config-standard',
'stylelint-config-recommended',
'stylelint-config-recommended-scss'
],
plugins: ['stylelint-scss'],
ignoreFiles: [
'node_modules/**/*',
'build/**/*',
'coverage/**/*',
'playwright-report/**/*',
'test-results/**/*',
'vendor/**/*',
'wp-core/**/*',
],
rules: {
'import-notation': null,
'color-no-invalid-hex': true,
'font-family-no-duplicate-names': true,
'function-calc-no-unspaced-operator': true,
'string-no-newline': true,
'block-no-empty': null,
'unit-no-unknown': true,
'property-no-unknown': [true, {
ignoreProperties: ['/^--wp--preset--/']
}],
'custom-property-pattern': null,
'at-rule-no-unknown': null,
'scss/at-rule-no-unknown': true,
'no-descending-specificity': null,
'selector-class-pattern': null,
},
};