-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.js
35 lines (35 loc) · 953 Bytes
/
.stylelintrc.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 = {
ignoreFiles: ["**/public/index.html"],
extends: [
"stylelint-config-rational-order",
"stylelint-config-html",
"stylelint-config-standard-scss",
"stylelint-config-recommended-vue",
"stylelint-config-prettier",
],
plugins: ["stylelint-order", "stylelint-config-rational-order/plugin"],
rules: {
"order/properties-order": [],
"plugin/rational-order": [
true,
{
"border-in-box-model": false,
"empty-line-between-groups": true,
},
],
"declaration-empty-line-before": [
"always",
{ ignore: ["after-declaration"], except: ["first-nested"] },
],
"rule-empty-line-before": [
"always-multi-line",
{ except: ["first-nested"] },
],
"max-empty-lines": 1,
"color-hex-length": "long",
"color-hex-case": "lower",
"selector-class-pattern": /\w+/,
"at-rule-no-unknown": null,
"selector-id-pattern": null,
},
}