Skip to content

Commit

Permalink
chore: update stylelint-config-standard, remove some rules (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Jul 21, 2023
1 parent 0c4b591 commit c92ae1d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 24 deletions.
10 changes: 2 additions & 8 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
{
"customSyntax": "postcss-lit",
"extends": [
"stylelint-config-standard",
"stylelint-config-prettier"
"stylelint-config-standard"
],
"rules": {
"alpha-value-notation": ["number"],
"comment-empty-line-before": null,
"color-function-notation": ["legacy"],
"comment-whitespace-inside": null,
"font-family-name-quotes": "always-where-recommended",
"media-feature-range-notation": "prefix",
"number-max-precision": [4, {
"ignoreProperties": ["animation-timing-function", "transform"]
}],
"property-no-vendor-prefix": [true, {
"ignoreProperties": ["user-select"]
}],
"selector-class-pattern": null,
"selector-type-no-unknown": [true, {
"ignoreTypes": ["/^[a-zA-Z]([a-zA-Z0-9]*-[a-zA-Z0-9]+)+/"]
}],
"value-keyword-case": null
}
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@
"simple-git-hooks": "^2.8.1",
"size-limit": "^8.1.0",
"stylelint": "^15.10.1",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-standard": "^29.0.0",
"stylelint-config-standard": "^34.0.0",
"typescript": "^4.9.3",
"wireit": "^0.8.0"
},
Expand Down
23 changes: 9 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8159,22 +8159,17 @@ style-to-object@^0.3.0:
dependencies:
inline-style-parser "0.1.1"

stylelint-config-prettier@^9.0.4:
version "9.0.4"
resolved "https://registry.yarnpkg.com/stylelint-config-prettier/-/stylelint-config-prettier-9.0.4.tgz#1b1dda614d5b3ef6c1f583fa6fa55f88245eb00b"
integrity sha512-38nIGTGpFOiK5LjJ8Ma1yUgpKENxoKSOhbDNSemY7Ep0VsJoXIW9Iq/2hSt699oB9tReynfWicTAoIHiq8Rvbg==

stylelint-config-recommended@^9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-9.0.0.tgz#1c9e07536a8cd875405f8ecef7314916d94e7e40"
integrity sha512-9YQSrJq4NvvRuTbzDsWX3rrFOzOlYBmZP+o513BJN/yfEmGSr0AxdvrWs0P/ilSpVV/wisamAHu5XSk8Rcf4CQ==
stylelint-config-recommended@^13.0.0:
version "13.0.0"
resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-13.0.0.tgz#c48a358cc46b629ea01f22db60b351f703e00597"
integrity sha512-EH+yRj6h3GAe/fRiyaoO2F9l9Tgg50AOFhaszyfov9v6ayXJ1IkSHwTxd7lB48FmOeSGDPLjatjO11fJpmarkQ==

stylelint-config-standard@^29.0.0:
version "29.0.0"
resolved "https://registry.yarnpkg.com/stylelint-config-standard/-/stylelint-config-standard-29.0.0.tgz#4cc0e0f05512a39bb8b8e97853247d3a95d66fa2"
integrity sha512-uy8tZLbfq6ZrXy4JKu3W+7lYLgRQBxYTUUB88vPgQ+ZzAxdrvcaSUW9hOMNLYBnwH+9Kkj19M2DHdZ4gKwI7tg==
stylelint-config-standard@^34.0.0:
version "34.0.0"
resolved "https://registry.yarnpkg.com/stylelint-config-standard/-/stylelint-config-standard-34.0.0.tgz#309f3c48118a02aae262230c174282e40e766cf4"
integrity sha512-u0VSZnVyW9VSryBG2LSO+OQTjN7zF9XJaAJRX/4EwkmU0R2jYwmBSN10acqZisDitS0CLiEiGjX7+Hrq8TAhfQ==
dependencies:
stylelint-config-recommended "^9.0.0"
stylelint-config-recommended "^13.0.0"

stylelint@^15.10.1:
version "15.10.1"
Expand Down

0 comments on commit c92ae1d

Please sign in to comment.