forked from bangle-io/bangle-io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
27 lines (27 loc) · 1.09 KB
/
.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
{
"!!NOTE!!": "Parts of this file are autogenerated by the tooling/_scripts, run \"yarn g:css:stylelint-update-regex\" to update.",
"extends": ["stylelint-config-standard", "stylelint-config-prettier"],
"rules": {
"at-rule-no-unknown": null,
"keyframes-name-pattern": null,
"custom-property-pattern": "^(BV|BC)-[a-z0-9A-Z\\-\\_]+$",
"length-zero-no-unit": [true, { "ignore": ["custom-properties"] }],
"selector-class-pattern": [
"^(B-core-extension|B-core-theme|B-editor|B-editor-common|B-editor-container|B-inline-backlink|B-inline-emoji|B-note-tags|B-search-notes|B-style|B-ui-components|B-ui-dhancha|BU)_[a-z0-9A-Z\\-]+$",
{
"message": "Selector should start with the package name followed by an underscore and then the selector name containing only lowercase letters, numbers and hyphens."
}
],
"declaration-block-no-redundant-longhand-properties": [
true,
{
"ignoreShorthands": [
"grid-template",
"grid-template-areas",
"grid-template-rows",
"grid-template-columns"
]
}
]
}
}