-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.js
35 lines (34 loc) · 1.24 KB
/
index.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
module.exports = {
extends: [`stylelint-config-standard`],
rules: {
"selector-list-comma-newline-after": null,
"block-closing-brace-empty-line-before": null,
"rule-empty-line-before": `always`,
"declaration-empty-line-before": null,
"font-family-name-quotes": `always-where-recommended`,
"color-named": `always-where-possible`,
"comment-empty-line-before": null,
"comment-whitespace-inside": null,
"function-url-quotes": `never`,
"string-quotes": `single`,
"declaration-no-important": true,
"no-duplicate-selectors": true,
// deprecated 8.0 [selector-no-id]
"selector-max-id": 0,
"number-max-precision": 2,
"shorthand-property-no-redundant-values": true,
"selector-no-qualifying-type": [true, { ignore: `attribute` }],
// deprecated 8.0 [selector-no-universal]
"selector-max-universal": 0,
"selector-no-vendor-prefix": true,
"property-no-vendor-prefix": true,
// deprecated 7.8.0
// "root-no-standard-properties": true,
"media-feature-name-case": `lower`,
"number-no-trailing-zeros": true,
"number-leading-zero": `never`,
"value-keyword-case": `lower`,
"no-extra-semicolons": true,
"declaration-block-no-shorthand-property-overrides": true
}
};