-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
91 lines (90 loc) · 2.73 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
'use strict';
module.exports = {
plugins: [
"stylelint-order"
],
extends: ["stylelint-config-recommended-scss"],
rules: {
// Turning off rules from stylelint-config-recommended-scss
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"no-descending-specificity": null,
"scss/at-extend-no-missing-placeholder": null,
// Springer Nature Ruleset
"at-rule-empty-line-before": [
"always", {
"except": [
"inside-block"
],
"ignore": [
"after-comment",
"inside-block",
"blockless-after-same-name-blockless"
]
}
],
"block-no-empty": true,
"block-opening-brace-newline-after": "always-multi-line",
"block-opening-brace-space-before": "always",
"color-hex-case": "lower",
"color-hex-length": "short",
"color-no-invalid-hex": true,
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-block-semicolon-newline-after": "always",
"declaration-block-trailing-semicolon": "always",
"declaration-colon-space-after": "always",
"declaration-colon-space-before": [
"never",
{
"ignore": [
"after-comment",
"first-nested",
"inside-block"
]
}
],
"font-family-name-quotes": "always-unless-keyword",
"function-comma-space-after": "always",
"function-name-case": "lower",
"function-parentheses-space-inside": "never",
"function-url-quotes": [
"always",
{
"except": [
"empty"
]
}
],
"indentation": [
"tab",
{
"indentInsideParens": "once-at-root-twice-in-block"
}
],
"length-zero-no-unit": true,
"max-nesting-depth": 3,
"media-feature-range-notation": "prefix",
"number-no-trailing-zeros": true,
"order/order": [
{
"type": "at-rule",
"name": "extend"
},
"declarations"
],
"scss/load-no-partial-leading-underscore": true,
"selector-attribute-operator-space-after": "never",
"selector-attribute-operator-space-before": "never",
"selector-list-comma-newline-after": "always",
"selector-no-qualifying-type": [
true,
{
"ignore": [
"attribute",
"class"
]
}
]
},
};