-
Notifications
You must be signed in to change notification settings - Fork 347
Expand file tree
/
Copy pathstylelint.config.js
More file actions
23 lines (22 loc) · 1015 Bytes
/
stylelint.config.js
File metadata and controls
23 lines (22 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const stylelintrc = require.resolve('@box/frontend/stylelint/stylelint.config.js');
module.exports = {
extends: [stylelintrc],
rules: {
'no-descending-specificity': null, // fixme
'declaration-no-important': null, // fixme
'property-no-vendor-prefix': null, // fixme
'no-duplicate-selectors': null, // fixme
'selector-no-vendor-prefix': null, // fixme
'property-no-unknown': null, // fixme
'at-rule-no-vendor-prefix': null, // fixme
'selector-class-pattern': '[A-Za-z]+([-_]{1,2}[A-Za-z]+)*(_[A-Za-z]+)*$',
// new rules - TODO reevaluate when components and features have been deprecated
'scss/dollar-variable-pattern': null,
'scss/at-mixin-pattern': null,
'scss/no-global-function-names': null,
'keyframes-name-pattern': null,
'scss/at-extend-no-missing-placeholder': null,
'no-invalid-position-at-import-rule': null,
'scss/load-no-partial-leading-underscore': null,
},
};