-
Notifications
You must be signed in to change notification settings - Fork 125
/
.stylelintrc.json
39 lines (39 loc) · 1.23 KB
/
.stylelintrc.json
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
{
"plugins": ["stylelint-scss", "stylelint-order"],
"ignoreFiles": [
".git/**",
"src/applications/proxy-rewrite/sass/style-consolidated.scss",
"src/applications/vaos/docs/styles/*.css",
"mochawesome-report/**/*.css"
],
"rules": {
"at-rule-disallowed-list": ["debug", "extend"],
"block-no-empty": true,
"color-named": "never",
"color-no-hex": true,
"declaration-colon-space-after": "always-single-line",
"declaration-colon-space-before": "never",
"function-url-scheme-disallowed-list": ["ftp", "/^http/"],
"no-eol-whitespace": true,
"order/order": [
{
"type": "at-rule",
"name": "mixin",
"hasBlock": true
},
{
"type": "at-rule",
"name": "mixin"
},
"declarations"
],
"property-no-unknown": true,
"scss/at-function-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
"scss/at-mixin-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
"scss/at-import-no-partial-leading-underscore": true,
"scss/at-import-partial-extension-blacklist": ["scss"],
"scss/dollar-variable-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
"scss/percent-placeholder-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
"string-quotes": "double"
}
}