@wkovacs64/eslint-config 7.3.1 → 7.5.0

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 (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +2 -4
  3. package/package.json +18 -19
package/README.md CHANGED
@@ -26,7 +26,7 @@ default.
26
26
  ```js
27
27
  import baseConfig from '@wkovacs64/eslint-config';
28
28
 
29
- /** @type {import("eslint").Linter.FlatConfig[]} */
29
+ /** @type {import("eslint").Linter.Config[]} */
30
30
  const config = [
31
31
  ...baseConfig,
32
32
  // overrides here
package/index.js CHANGED
@@ -2,7 +2,6 @@
2
2
  // Forked from https://github.com/epicweb-dev/config
3
3
  //
4
4
  import globals from 'globals';
5
- import { fixupPluginRules } from '@eslint/compat';
6
5
  import eslint from '@eslint/js';
7
6
  import tseslint from 'typescript-eslint';
8
7
  import reactPlugin from 'eslint-plugin-react';
@@ -38,6 +37,7 @@ export const config = [
38
37
  {
39
38
  ignores: [
40
39
  '**/.cache/**',
40
+ '**/.react-router/**',
41
41
  '**/node_modules/**',
42
42
  '**/build/**',
43
43
  '**/public/build/**',
@@ -292,9 +292,7 @@ export const config = [
292
292
  files: testFiles,
293
293
  ignores: [...playwrightTestFiles],
294
294
  plugins: {
295
- 'testing-library': fixupPluginRules(
296
- (await import('eslint-plugin-testing-library')).default,
297
- ),
295
+ 'testing-library': (await import('eslint-plugin-testing-library')).default,
298
296
  },
299
297
  rules: {
300
298
  'testing-library/await-async-events': ERROR,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wkovacs64/eslint-config",
3
- "version": "7.3.1",
3
+ "version": "7.5.0",
4
4
  "description": "@wKovacs64 ESLint config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -50,29 +50,28 @@
50
50
  "node": "^18.18.0 || >=20.0.0"
51
51
  },
52
52
  "dependencies": {
53
- "@eslint/compat": "~1.1.1",
54
- "@eslint/js": "^9.15.0",
55
- "eslint-plugin-import-x": "^4.4.2",
56
- "eslint-plugin-jest-dom": "^5.4.0",
53
+ "@eslint/js": "^9.17.0",
54
+ "@vitest/eslint-plugin": "^1.1.24",
55
+ "eslint-plugin-import-x": "^4.6.1",
56
+ "eslint-plugin-jest-dom": "^5.5.0",
57
57
  "eslint-plugin-jsx-a11y": "^6.10.2",
58
- "eslint-plugin-playwright": "^2.0.1",
59
- "eslint-plugin-react": "^7.37.2",
60
- "eslint-plugin-react-hooks": "^5.0.0",
61
- "eslint-plugin-testing-library": "^6.4.0",
62
- "@vitest/eslint-plugin": "^1.1.10",
63
- "globals": "^15.12.0",
64
- "typescript-eslint": "^8.14.0"
58
+ "eslint-plugin-playwright": "^2.1.0",
59
+ "eslint-plugin-react": "^7.37.3",
60
+ "eslint-plugin-react-hooks": "^5.1.0",
61
+ "eslint-plugin-testing-library": "^7.1.1",
62
+ "globals": "^15.14.0",
63
+ "typescript-eslint": "^8.19.0"
65
64
  },
66
65
  "devDependencies": {
67
66
  "@changesets/changelog-github": "0.5.0",
68
- "@changesets/cli": "2.27.9",
67
+ "@changesets/cli": "2.27.11",
69
68
  "@types/eslint__js": "8.42.3",
70
- "@types/node": "22.9.0",
71
- "@types/react": "18.3.12",
72
- "@types/react-dom": "18.3.1",
69
+ "@types/node": "22.10.4",
70
+ "@types/react": "19.0.2",
71
+ "@types/react-dom": "19.0.2",
73
72
  "@wkovacs64/prettier-config": "4.1.1",
74
- "eslint": "8.57.1",
75
- "prettier": "3.3.3",
76
- "typescript": "5.6.3"
73
+ "eslint": "9.17.0",
74
+ "prettier": "3.4.2",
75
+ "typescript": "5.7.2"
77
76
  }
78
77
  }