forked from woocommerce/woocommerce-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylelint.config.js
31 lines (31 loc) · 1.1 KB
/
stylelint.config.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
module.exports = {
extends: '@wordpress/stylelint-config/scss',
ignoreFiles: [ './vendor/**/*.scss' ],
rules: {
'at-rule-empty-line-before': null,
'at-rule-no-unknown': null,
'comment-empty-line-before': null,
'declaration-block-no-duplicate-properties': null,
'declaration-colon-newline-after': null,
'declaration-property-unit-allowed-list': null,
'font-weight-notation': null,
'max-line-length': null,
'no-descending-specificity': null,
'no-duplicate-selectors': null,
'rule-empty-line-before': null,
'selector-class-pattern': null,
'string-quotes': 'single',
'value-keyword-case': null,
'value-list-comma-newline-after': null,
// TODO: fix these rules
// New rules enabled after updating @wordpress/stylelint-config
'scss/at-import-partial-extension': 'always',
'scss/at-import-no-partial-leading-underscore': null,
'scss/no-global-function-names': null,
'scss/operator-no-unspaced': null,
'scss/at-extend-no-missing-placeholder': null,
'scss/selector-no-redundant-nesting-selector': null,
'selector-id-pattern': null,
'no-invalid-position-at-import-rule': null,
},
};