-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.stylelintrc.json
More file actions
138 lines (138 loc) · 3.24 KB
/
.stylelintrc.json
File metadata and controls
138 lines (138 loc) · 3.24 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"extends": ["stylelint-config-standard"],
"plugins": ["stylelint-stylus"],
"reportDescriptionlessDisables": true,
"reportInvalidScopeDisables": true,
"reportNeedlessDisables": true,
"reportUnscopedDisables": true,
"ignoreFiles": [
"**/node_modules/**",
"**/dist/**",
"**/build/**",
"**/coverage/**",
"**/*.min.css",
"**/*.min.*.css"
],
"overrides": [
{
"files": ["**/*.{styl,stylus}"],
"customSyntax": "postcss-styl",
"extends": ["stylelint-stylus/standard"]
}
],
"rules": {
"alpha-value-notation": "percentage",
"color-hex-length": null,
"at-rule-empty-line-before": null,
"comment-empty-line-before": null,
"declaration-empty-line-before": null,
"rule-empty-line-before": null,
"no-descending-specificity": null,
"at-rule-no-vendor-prefix": null,
"media-feature-name-no-vendor-prefix": null,
"property-no-vendor-prefix": null,
"selector-no-vendor-prefix": null,
"selector-class-pattern": null,
"selector-id-pattern": null,
"custom-property-pattern": null,
"value-no-vendor-prefix": null,
"at-rule-no-unknown": [
true,
{
"severity": "warning",
"ignoreAtRules": ["-moz-document", "document"]
}
],
"at-rule-no-deprecated": [
true,
{
"ignoreAtRules": ["-moz-document", "document"]
}
],
"function-no-unknown": [
true,
{
"severity": "warning",
"ignoreFunctions": ["domain", "regexp", "url-prefix"]
}
],
"selector-pseudo-class-no-unknown": [
true,
{
"severity": "warning",
"ignorePseudoClasses": [
"input-placeholder",
"-webkit-autofill",
"-moz-any",
"-moz-any-link",
"-moz-focusring",
"-moz-full-screen",
"-moz-placeholder",
"-moz-read-only",
"-moz-read-write",
"-moz-ui-invalid",
"-moz-ui-valid",
"-moz-window-inactive"
]
}
],
"selector-pseudo-element-no-unknown": [
true,
{
"severity": "warning",
"ignorePseudoElements": [
"input-placeholder",
"last-child",
"-webkit-scrollbar",
"-webkit-scrollbar-button",
"-webkit-scrollbar-corner",
"-webkit-scrollbar-thumb",
"-webkit-scrollbar-track",
"-webkit-scrollbar-track-piece",
"-moz-focus-inner",
"-moz-progress-bar",
"-webkit-input-placeholder"
]
}
],
"selector-type-no-unknown": [
true,
{
"severity": "warning",
"ignoreTypes": [
"z",
"png",
"row",
"basic-analysis",
"text-display5",
"trk-shared-icon",
"ytu-menu-item",
"ytu-nav-bar",
"ytd-searchbox",
"ytd-masthead",
"ytd-button-renderer",
"ytd-subscribe-button-renderer",
"ytd-author-comment-badge-renderer",
"ytd-guide-entry-renderer",
"ytd-watch",
"paper-toggle-button",
"paper-button",
"yt-icon",
"app-drawer",
"mat-toolbar"
]
}
],
"at-rule-prelude-no-invalid": null,
"block-no-redundant-nested-style-rules": true,
"declaration-property-value-keyword-no-deprecated": true,
"function-url-no-scheme-relative": true,
"max-nesting-depth": 4,
"media-type-no-deprecated": true,
"nesting-selector-no-missing-scoping-root": true,
"no-unknown-animations": [true, { "severity": "warning" }],
"number-max-precision": 15,
"property-no-deprecated": true,
"syntax-string-no-invalid": true
}
}