aboutsummaryrefslogtreecommitdiff
path: root/.stylelintrc.json
blob: bbb7a81fc2624b1a335d6277462a84c0c009e64e (plain)
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
{
	"extends": "stylelint-config-recommended",
	"plugins": [
		"stylelint-order",
		"@stylistic/stylelint-plugin"
	],
	"rules": {
		"at-rule-empty-line-before": [
			"always", {
				"ignoreAtRules": [ "after-comment", "else" ]
			}
		],
		"@stylistic/at-rule-name-space-after": [
			"always", {
				"ignoreAtRules": [ "after-comment" ]
			}
		],
		"@stylistic/block-closing-brace-newline-after": [
			"always", {
				"ignoreAtRules": [ "if", "else" ]
			}
		],
		"@stylistic/block-closing-brace-newline-before": "always-multi-line",
		"@stylistic/block-opening-brace-newline-after": "always-multi-line",
		"@stylistic/block-opening-brace-space-before": "always",
		"@stylistic/color-hex-case": "lower",
		"color-hex-length": "short",
		"color-no-invalid-hex": true,
		"@stylistic/declaration-colon-space-after": "always",
		"@stylistic/declaration-colon-space-before": "never",
		"@stylistic/indentation": "tab",
		"no-descending-specificity": null,
		"@stylistic/no-eol-whitespace": true,
		"property-no-vendor-prefix": true,
		"rule-empty-line-before": [
			"always", {
				"except": ["after-single-line-comment","first-nested"]
			}
		],
		"order/properties-order": [
			"margin",
			"padding",
			"background",
			"display",
			"float",
			"max-width",
			"width",
			"max-height",
			"height",
			"color",
			"font",
			"font-family",
			"font-size",
			"border",
			"border-top",
			"border-top-color",
			"border-right",
			"border-right-color",
			"border-bottom",
			"border-bottom-color",
			"border-left",
			"border-left-color",
			"border-radius",
			"box-shadow"
		]
	}
}