forked from deriv-com/sinbad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
45 lines (45 loc) · 1.34 KB
/
.stylelintrc
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
{
"processors": ["stylelint-processor-styled-components"],
"extends": [
"stylelint-config-standard",
"stylelint-config-styled-components",
"stylelint-config-prettier"
],
"overrides": [
{
"files": ["**/*.{js,ts,jsx,tsx}"],
"customSyntax": "@stylelint/postcss-css-in-js"
}
],
"rules": {
"string-quotes": "single",
"number-leading-zero": "always",
"declaration-colon-newline-after": null,
"color-hex-length": "long",
"max-empty-lines": 4,
"value-list-comma-newline-after": null,
"max-nesting-depth": 3,
"indentation": 4,
"selector-type-no-unknown": [
true,
{
"ignoreTypes": ["/^amp-/"]
}
],
"rule-empty-line-before": [
"always",
{
"ignore": ["after-comment"],
"except": ["inside-block-and-after-rule", "first-nested"]
}
],
"value-keyword-case": null,
"declaration-block-no-redundant-longhand-properties": null,
"alpha-value-notation": null,
"color-function-notation": null,
"shorthand-property-no-redundant-values": null,
"keyframes-name-pattern": null,
"selector-class-pattern": null
},
"syntax": "scss"
}