Skip to content

Commit

Permalink
Merge pull request #1090 from ral-facilities/renovate/develop-eslint-…
Browse files Browse the repository at this point in the history
…plugin-testing-library-6.x

Update dependency eslint-plugin-testing-library to v6.4.0 (develop)
  • Loading branch information
joelvdavies authored Oct 25, 2024
2 parents 72aecc2 + 01a88d4 commit d6908b8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
10 changes: 2 additions & 8 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,9 @@ export default tseslint.config(
...jsxA11yPlugin.configs.recommended.rules,
},
},
// eslint-plugin-testing-library doesn't support flat config properly yet
// https://github.com/testing-library/eslint-plugin-testing-library/issues/899
{
files: ['**/?*test.{js,ts,jsx,tsx}'],
plugins: {
'testing-library': fixupPluginRules({
rules: reactTestingLibraryPlugin.rules,
}),
},
rules: reactTestingLibraryPlugin.configs.react.rules,
plugins: reactTestingLibraryPlugin.configs['flat/react'].plugins,
rules: reactTestingLibraryPlugin.configs['flat/react'].rules,
}
);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.37.1",
"eslint-plugin-react-hooks": "5.0.0",
"eslint-plugin-testing-library": "6.3.0",
"eslint-plugin-testing-library": "6.4.0",
"express": "4.21.0",
"globals": "15.11.0",
"jsdom": "25.0.0",
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2011,7 +2011,7 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:^5.58.0":
"@typescript-eslint/utils@npm:^5.62.0":
version: 5.62.0
resolution: "@typescript-eslint/utils@npm:5.62.0"
dependencies:
Expand Down Expand Up @@ -4025,14 +4025,14 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-testing-library@npm:6.3.0":
version: 6.3.0
resolution: "eslint-plugin-testing-library@npm:6.3.0"
"eslint-plugin-testing-library@npm:6.4.0":
version: 6.4.0
resolution: "eslint-plugin-testing-library@npm:6.4.0"
dependencies:
"@typescript-eslint/utils": "npm:^5.58.0"
"@typescript-eslint/utils": "npm:^5.62.0"
peerDependencies:
eslint: ^7.5.0 || ^8.0.0
checksum: 10c0/9f388cb9101a38f30a8be9b0ddb6765fc69faccaf7b9ac02b5d662505b72023468f0c99d1a83fd18750e70a1b3d67d3cabc6e4f531fee0a753e35499e7f7461b
eslint: ^7.5.0 || ^8.0.0 || ^9.0.0
checksum: 10c0/b9997487a09df41c27487ed80640712c2c6e62840f5fb9eea1f0b622e40cb438a19a8c52ff2d73f5ab7b28d5e7ce2be649d87ca41fb67897422159d36f42033a
languageName: node
linkType: hard

Expand Down Expand Up @@ -5142,7 +5142,7 @@ __metadata:
eslint-plugin-prettier: "npm:5.2.1"
eslint-plugin-react: "npm:7.37.1"
eslint-plugin-react-hooks: "npm:5.0.0"
eslint-plugin-testing-library: "npm:6.3.0"
eslint-plugin-testing-library: "npm:6.4.0"
express: "npm:4.21.0"
globals: "npm:15.11.0"
history: "npm:^5.3.0"
Expand Down

0 comments on commit d6908b8

Please sign in to comment.