-
Notifications
You must be signed in to change notification settings - Fork 62
/
.stylelintrc.js
41 lines (41 loc) · 1.04 KB
/
.stylelintrc.js
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
module.exports = {
extends: "@wordpress/stylelint-config/scss",
plugins: [
"stylelint-no-unsupported-browser-features"
],
overrides: [
{
files: ["**/*.scss"],
customSyntax: "postcss-scss"
}
],
rules: {
"plugin/no-unsupported-browser-features": [
true,
{
severity: "error",
ignore: [
"user-select-none", // Not supported in UC browser for Android - not that important if this doesn't work.
"css3-cursors",
"css3-cursors-newer",
"css-masks",
],
ignorePartialSupport: true,
}
],
"at-rule-empty-line-before": null,
"at-rule-no-unknown": null,
"comment-empty-line-before": null,
"declaration-block-no-duplicate-properties": null,
"declaration-property-unit-whitelist": null,
"font-weight-notation": null,
"max-line-length": null,
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"rule-empty-line-before": null,
"selector-class-pattern": null,
"value-keyword-case": null,
"length-zero-no-unit": null,
"font-family-no-missing-generic-family-keyword": null
}
}