forked from GoogleChrome/web.dev
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.sasslintrc
54 lines (54 loc) · 1.36 KB
/
.sasslintrc
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
{
"options": {
"merge-default-rules": false
},
"files": {
"ignore": [
"src/styles/devsite/_app.scss",
"src/styles/devsite/_devsite_debug_info.scss",
"src/styles/devsite/_devsite_heading.scss",
"src/styles/devsite/_devsite_snackbar.scss",
"src/styles/devsite/_devsite_tooltip.scss",
"src/styles/devsite/_elements.scss",
]
},
"rules": {
"attribute-quotes": 2,
"brace-style": 2,
"border-zero": 2,
"class-name-format": [
2,
{
"convention": "^w-.+",
"convention-explanation": "Classes must be namedspaced with w-* prefix."
}
],
"declarations-before-nesting": 2,
"empty-line-between-blocks": 2,
"final-newline": 2,
"hex-notation": 2,
"indentation": 2,
"leading-zero": 2,
"no-css-comments": 2,
"no-debug": 2,
"no-mergeable-selectors": 2,
"no-misspelled-properties": 2,
"no-trailing-whitespace": 2,
"no-transition-all": 2,
"placeholder-in-extend": 2,
"property-sort-order": 2,
"pseudo-element": 2,
"quotes": 2,
"shorthand-values": 2,
"single-line-per-selector": 2,
"space-after-comma": 2,
"space-around-operator": 2,
"variable-name-format": [
2,
{
"convention": "^[_A-Z0-9]+$",
"convention-explanation": "Variable names should be in $SCREAMING_SNAKE_CASE"
}
]
}
}