This repository was archived by the owner on Nov 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.stylelintrc
More file actions
56 lines (56 loc) · 1.62 KB
/
Copy path.stylelintrc
File metadata and controls
56 lines (56 loc) · 1.62 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
{
"extends": ["stylelint-config-standard", "stylelint-config-prettier"],
"plugins": [
"stylelint-selector-pattern",
"stylelint-declaration-block-no-ignored-properties",
"stylelint-declaration-strict-value",
"stylelint-selector-tag-no-without-class"
],
"rules": {
"alpha-value-notation": "number",
"at-rule-no-unknown": [
true,
{ "ignoreAtRules": ["extend", "define-mixin", "mixin"] }
],
"selector-pseudo-class-case": null,
"selector-class-pattern": null,
"selector-id-pattern": null,
"custom-property-pattern": null,
"number-max-precision": null,
"no-descending-specificity": null,
"no-invalid-position-at-import-rule": null,
"plugin/declaration-block-no-ignored-properties": true,
"plugin/selector-tag-no-without-class": "tag",
"selector-type-no-unknown": [
true,
{
"ignoreTypes": ["/^stencila-/"]
}
],
"scale-unlimited/declaration-strict-value": [
["/color/", "font-size", "fill", "stroke"],
{
"ignoreKeywords": ["currentColor", "inherit"],
"disableFix": true
}
],
"value-keyword-case": [
"lower",
{
"ignoreProperties": ["/^--/", "font-family"]
}
],
"xi/selector-pattern": [
"^(?:{element}{pseudo}?).*$",
{
"subpatterns": {
"semantic": ":--[A-z][A-z0-9]+",
"element": "(?:\\w*:--[A-z][A-z0-9]+|:root|^stencila-)",
"pseudo": "(?::{1,2}(?:\\w|-)+)|(:not(?:\\w|-)+)",
"combinator": "(:?\\s*(?:>|\\+|~|\\s+|\\|\\|)\\s*)"
}
}
]
},
"ignoreFiles": ["src/shared/styles/mathjax.css"]
}