eslint-config-scratch 12.0.7 → 12.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/eslint.mjs +1 -1
  2. package/package.json +2 -2
package/lib/eslint.mjs CHANGED
@@ -186,7 +186,7 @@ const allScriptRules = defineConfig([
186
186
  {
187
187
  name: 'scratch/allScriptRules[eslint-plugin-react-hooks]',
188
188
  files: fileGlobs.react,
189
- extends: [reactHooks.configs['recommended-latest']],
189
+ extends: [reactHooks.configs.flat.recommended],
190
190
  rules: {
191
191
  // https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/README.md#advanced-configuration
192
192
  'react-hooks/exhaustive-deps': ['error', { additionalHooks: '^useAsync$' }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-scratch",
3
- "version": "12.0.7",
3
+ "version": "12.0.8",
4
4
  "description": "Shareable ESLint config for Scratch",
5
5
  "main": "./lib/index.mjs",
6
6
  "scripts": {
@@ -44,7 +44,7 @@
44
44
  "eslint-plugin-jsdoc": "61.1.1",
45
45
  "eslint-plugin-jsx-a11y": "6.10.2",
46
46
  "eslint-plugin-react": "7.37.5",
47
- "eslint-plugin-react-hooks": "5.2.0",
47
+ "eslint-plugin-react-hooks": "7.0.0",
48
48
  "globals": "16.4.0",
49
49
  "prettier": "3.6.2",
50
50
  "typescript-eslint": "8.46.0"