Skip to content

Commit c92ae1d

Browse files
authored
chore: update stylelint-config-standard, remove some rules (#187)
1 parent 0c4b591 commit c92ae1d

File tree

3 files changed

+12
-24
lines changed

3 files changed

+12
-24
lines changed

.stylelintrc

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
11
{
22
"customSyntax": "postcss-lit",
33
"extends": [
4-
"stylelint-config-standard",
5-
"stylelint-config-prettier"
4+
"stylelint-config-standard"
65
],
76
"rules": {
87
"alpha-value-notation": ["number"],
9-
"comment-empty-line-before": null,
108
"color-function-notation": ["legacy"],
11-
"comment-whitespace-inside": null,
12-
"font-family-name-quotes": "always-where-recommended",
9+
"media-feature-range-notation": "prefix",
1310
"number-max-precision": [4, {
1411
"ignoreProperties": ["animation-timing-function", "transform"]
1512
}],
1613
"property-no-vendor-prefix": [true, {
1714
"ignoreProperties": ["user-select"]
1815
}],
1916
"selector-class-pattern": null,
20-
"selector-type-no-unknown": [true, {
21-
"ignoreTypes": ["/^[a-zA-Z]([a-zA-Z0-9]*-[a-zA-Z0-9]+)+/"]
22-
}],
2317
"value-keyword-case": null
2418
}
2519
}

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@
6262
"simple-git-hooks": "^2.8.1",
6363
"size-limit": "^8.1.0",
6464
"stylelint": "^15.10.1",
65-
"stylelint-config-prettier": "^9.0.4",
66-
"stylelint-config-standard": "^29.0.0",
65+
"stylelint-config-standard": "^34.0.0",
6766
"typescript": "^4.9.3",
6867
"wireit": "^0.8.0"
6968
},

yarn.lock

+9-14
Original file line numberDiff line numberDiff line change
@@ -8159,22 +8159,17 @@ style-to-object@^0.3.0:
81598159
dependencies:
81608160
inline-style-parser "0.1.1"
81618161

8162-
stylelint-config-prettier@^9.0.4:
8163-
version "9.0.4"
8164-
resolved "https://registry.yarnpkg.com/stylelint-config-prettier/-/stylelint-config-prettier-9.0.4.tgz#1b1dda614d5b3ef6c1f583fa6fa55f88245eb00b"
8165-
integrity sha512-38nIGTGpFOiK5LjJ8Ma1yUgpKENxoKSOhbDNSemY7Ep0VsJoXIW9Iq/2hSt699oB9tReynfWicTAoIHiq8Rvbg==
8166-
8167-
stylelint-config-recommended@^9.0.0:
8168-
version "9.0.0"
8169-
resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-9.0.0.tgz#1c9e07536a8cd875405f8ecef7314916d94e7e40"
8170-
integrity sha512-9YQSrJq4NvvRuTbzDsWX3rrFOzOlYBmZP+o513BJN/yfEmGSr0AxdvrWs0P/ilSpVV/wisamAHu5XSk8Rcf4CQ==
8162+
stylelint-config-recommended@^13.0.0:
8163+
version "13.0.0"
8164+
resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-13.0.0.tgz#c48a358cc46b629ea01f22db60b351f703e00597"
8165+
integrity sha512-EH+yRj6h3GAe/fRiyaoO2F9l9Tgg50AOFhaszyfov9v6ayXJ1IkSHwTxd7lB48FmOeSGDPLjatjO11fJpmarkQ==
81718166

8172-
stylelint-config-standard@^29.0.0:
8173-
version "29.0.0"
8174-
resolved "https://registry.yarnpkg.com/stylelint-config-standard/-/stylelint-config-standard-29.0.0.tgz#4cc0e0f05512a39bb8b8e97853247d3a95d66fa2"
8175-
integrity sha512-uy8tZLbfq6ZrXy4JKu3W+7lYLgRQBxYTUUB88vPgQ+ZzAxdrvcaSUW9hOMNLYBnwH+9Kkj19M2DHdZ4gKwI7tg==
8167+
stylelint-config-standard@^34.0.0:
8168+
version "34.0.0"
8169+
resolved "https://registry.yarnpkg.com/stylelint-config-standard/-/stylelint-config-standard-34.0.0.tgz#309f3c48118a02aae262230c174282e40e766cf4"
8170+
integrity sha512-u0VSZnVyW9VSryBG2LSO+OQTjN7zF9XJaAJRX/4EwkmU0R2jYwmBSN10acqZisDitS0CLiEiGjX7+Hrq8TAhfQ==
81768171
dependencies:
8177-
stylelint-config-recommended "^9.0.0"
8172+
stylelint-config-recommended "^13.0.0"
81788173

81798174
stylelint@^15.10.1:
81808175
version "15.10.1"

0 commit comments

Comments
 (0)