Skip to content

Commit 1d764c7

Browse files
authored
Extend CSS dictionary for Stylelint (#297)
1 parent 708b200 commit 1d764c7

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.stylelintrc.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55
"rules": {
66
"at-rule-no-unknown": null,
77
"scss/at-rule-no-unknown": true,
8-
"csstree/validator": true
8+
"csstree/validator":
9+
{
10+
"properties": {
11+
"width": "| fit-content"
12+
}
13+
}
914
},
1015
"ignoreFiles": ["build/**", "dist/**", "**/reset*.css", "**/bootstrap*.css"]
11-
}
16+
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"devDependencies": {
66
"stylelint": "^13.3.3",
77
"stylelint-config-standard": "^20.0.0",
8+
"stylelint-csstree-validator": "^1.9.0",
89
"stylelint-scss": "^3.17.2"
910
}
1011
}

0 commit comments

Comments
 (0)