Skip to content

Commit

Permalink
fix(deps): update all stylelint packages (major) (#2959)
Browse files Browse the repository at this point in the history
* fix(deps): update all stylelint packages

* chore(rebase): rebase

* chore(stylelint): get stylelint working again

* chore(stylelint): remove deprecated stylelint-config-prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Byron Wall <[email protected]>
  • Loading branch information
renovate[bot] and ByronDWall authored Oct 17, 2024
1 parent e10bda3 commit a483e7e
Show file tree
Hide file tree
Showing 4 changed files with 174 additions and 249 deletions.
17 changes: 5 additions & 12 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
{
"extends": [
"stylelint-config-standard",
"stylelint-config-prettier"
"stylelint-config-standard"
],
"plugins": [
"stylelint-order"
],
"customSyntax": "@stylelint/postcss-css-in-js",
"customSyntax": "postcss-styled-syntax",
"rules": {
"font-family-name-quotes": ["always-unless-keyword"],
"font-family-name-quotes": "always-unless-keyword",
"function-url-quotes": "always",
"selector-attribute-quotes": "always",
"string-quotes": "single",
"selector-pseudo-class-no-unknown": [
true,
{ "ignorePseudoClasses": ["global"] }
Expand All @@ -28,17 +26,12 @@
true,
{ "ignoreProperties": ["composes"] }
],
"declaration-colon-newline-after": null,

"rule-empty-line-before": null,
"value-list-comma-newline-after": null,
"indentation": null,
"selector-descendant-combinator-no-non-space": null,
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"no-empty-source": null,
"declaration-empty-line-before": null,
"no-missing-end-of-source-newline": null,
"function-name-case": null,
"value-keyword-case": null
"function-name-case": null
}
}
4 changes: 2 additions & 2 deletions jest.stylelint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
module.exports = {
runner: 'jest-runner-stylelint',
displayName: 'stylelint',
moduleFileExtensions: ['js'],
moduleFileExtensions: ['js', 'ts', 'tsx'],
modulePathIgnorePatterns: [
'dist',
'storybook',
Expand All @@ -13,6 +13,6 @@ module.exports = {
'.visualroute.js',
'.story.js',
],
testMatch: ['<rootDir>/**/*.js'],
testMatch: ['<rootDir>/**/*.{js,ts,tsx}'],
watchPlugins: ['jest-watch-typeahead/filename'],
};
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@
"@manypkg/get-packages": "1.1.3",
"@percy/cli": "1.30.1",
"@percy/puppeteer": "2.0.2",
"@preconstruct/cli": "2.8.9",
"@stylelint/postcss-css-in-js": "^0.38.0",
"@preconstruct/cli": "2.8.8",
"@svgr/babel-plugin-svg-dynamic-title": "^8.0.0",
"@svgr/cli": "8.1.0",
"@svgr/core": "8.1.0",
Expand Down Expand Up @@ -132,6 +131,7 @@
"omit-empty-es": "1.2.0",
"patch-package": "6.5.1",
"postcss": "8.4.47",
"postcss-styled-syntax": "^0.6.4",
"postcss-syntax": "^0.36.2",
"postcss-value-parser": "4.2.0",
"pptr-testing-library": "0.8.0",
Expand All @@ -148,9 +148,8 @@
"replace": "1.2.2",
"rimraf": "3.0.2",
"shelljs": "0.8.5",
"stylelint": "15.11.0",
"stylelint-config-prettier": "9.0.5",
"stylelint-config-standard": "34.0.0",
"stylelint": "16.10.0",
"stylelint-config-standard": "36.0.1",
"stylelint-order": "5.0.0",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
Expand Down
Loading

0 comments on commit a483e7e

Please sign in to comment.