-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc.js
35 lines (35 loc) · 1002 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 = {
extends: [
"stylelint-config-standard-scss",
"stylelint-config-rational-order",
"stylelint-prettier/recommended",
],
plugin: ["stylelint-order", "stylelint-config-rational-order/plugin"],
rules: {
// recommended rules
"comment-empty-line-before": null,
"scss/dollar-variable-empty-line-before": ["never", { ignore: ["after-comment", "inside-single-line-block", "after-dollar-variable"] }],
"scss/at-rule-no-unknown": true,
"scss/at-mixin-pattern": null,
"at-rule-empty-line-before": [
"always",
{
ignore: ["after-comment", "first-nested"],
except: [
"after-same-name",
"blockless-after-blockless",
"blockless-after-same-name-blockless",
"inside-block",
],
},
],
"order/properties-order": [],
"plugin/rational-order": [
true,
{
"border-in-box-model": false,
"empty-line-between-groups": false,
},
],
},
};