forked from grafana/grafana
-
Notifications
You must be signed in to change notification settings - Fork 1
/
stylelint.config.js
40 lines (40 loc) · 1.26 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
32
33
34
35
36
37
38
39
40
module.exports = {
extends: ['stylelint-config-sass-guidelines'],
ignoreFiles: ['**/node_modules/**/*.scss'],
rules: {
'at-rule-no-vendor-prefix': null,
'color-hex-length': null,
'color-named': null,
'declaration-block-no-duplicate-properties': [
true,
{
ignore: 'consecutive-duplicates-with-different-values',
ignoreProperties: ['font-size', 'word-break'],
},
],
// Disable equivalent "borderZero" sass-lint rule
'declaration-property-value-disallowed-list': {
border: [],
'border-bottom': [],
'border-left': [],
'border-right': [],
'border-top': [],
},
'function-url-quotes': null,
'length-zero-no-unit': null,
'max-nesting-depth': null,
'property-no-vendor-prefix': null,
'rule-empty-line-before': null,
'scss/at-function-pattern': null,
'scss/at-mixin-pattern': null,
'scss/dollar-variable-pattern': null,
'scss/at-extend-no-missing-placeholder': null,
'selector-class-pattern': null,
'selector-max-compound-selectors': null,
'selector-max-id': null,
'selector-no-qualifying-type': null,
'selector-pseudo-element-colon-notation': null,
'shorthand-property-no-redundant-values': null,
'value-no-vendor-prefix': null,
},
};