forked from devinekask/stylelint-config-devine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
40 lines (35 loc) · 1.23 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
36
37
38
39
40
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,
"selector-no-id": true,
"number-max-precision": 2,
"shorthand-property-no-redundant-values": true,
"selector-no-qualifying-type": [true, {ignore: `attribute`}],
"selector-no-universal": true,
"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,
"declaration-block-no-redundant-longhand-properties": true
}
};