generated from ReihaneB/front-end-basics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
30 lines (30 loc) · 858 Bytes
/
.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
{
"extends": [
"stylelint-config-standard"
],
"rules": {
"declaration-block-single-line-max-declarations": null,
"rule-empty-line-before": [
"always",
{ "ignore": ["after-comment", "first-nested"] }
],
"property-no-unknown": [true, {
"ignoreProperties": ["composes"]
}],
"declaration-empty-line-before": null,
"length-zero-no-unit": null,
"value-keyword-case": null,
"no-descending-specificity": null,
"color-function-notation": null,
"alpha-value-notation": null,
"declaration-block-no-redundant-longhand-properties": [
true,
{ "ignoreShorthands": ["inset"] }
],
"no-duplicate-selectors": null,
"selector-class-pattern": ["^[a-z][a-zA-Z0-9]*$", {
"resolveNestedSelectors": true,
"message": "Selector should be written in camelCase."
}]
}
}