@wkovacs64/eslint-config 7.9.1 → 7.10.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 (2) hide show
  1. package/README.md +7 -5
  2. package/package.json +14 -15
package/README.md CHANGED
@@ -24,13 +24,15 @@ default.
24
24
  #### `eslint.config.js`
25
25
 
26
26
  ```js
27
+ import { defineConfig } from 'eslint/config';
27
28
  import baseConfig from '@wkovacs64/eslint-config';
28
29
 
29
- /** @type {import("eslint").Linter.Config[]} */
30
- const config = [
31
- ...baseConfig,
32
- // overrides here
33
- ];
30
+ const config = defineConfig([
31
+ baseConfig,
32
+ {
33
+ // your optional overrides here
34
+ },
35
+ ]);
34
36
 
35
37
  export default config;
36
38
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wkovacs64/eslint-config",
3
- "version": "7.9.1",
3
+ "version": "7.10.0",
4
4
  "description": "@wKovacs64 ESLint config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -26,8 +26,7 @@
26
26
  ],
27
27
  "homepage": "https://github.com/wKovacs64/eslint-config#readme",
28
28
  "repository": {
29
- "type": "git",
30
- "url": "https://github.com/wKovacs64/eslint-config.git"
29
+ "url": "git+https://github.com/wKovacs64/eslint-config.git"
31
30
  },
32
31
  "bugs": {
33
32
  "url": "https://github.com/wKovacs64/eslint-config/issues"
@@ -50,28 +49,28 @@
50
49
  "node": "^18.18.0 || >=20.0.0"
51
50
  },
52
51
  "dependencies": {
53
- "@eslint/js": "^9.32.0",
54
- "@vitest/eslint-plugin": "^1.3.4",
52
+ "@eslint/js": "^9.37.0",
53
+ "@vitest/eslint-plugin": "^1.3.15",
55
54
  "eslint-plugin-astro": "^1.3.1",
56
55
  "eslint-plugin-import-x": "^4.16.1",
57
56
  "eslint-plugin-jest-dom": "^5.5.0",
58
57
  "eslint-plugin-jsx-a11y": "^6.10.2",
59
58
  "eslint-plugin-playwright": "^2.2.2",
60
59
  "eslint-plugin-react": "^7.37.5",
61
- "eslint-plugin-react-hooks": "^5.2.0",
62
- "eslint-plugin-testing-library": "^7.6.3",
63
- "globals": "^16.3.0",
64
- "typescript-eslint": "^8.39.0"
60
+ "eslint-plugin-react-hooks": "^6.1.0",
61
+ "eslint-plugin-testing-library": "^7.11.0",
62
+ "globals": "^16.4.0",
63
+ "typescript-eslint": "^8.45.0"
65
64
  },
66
65
  "devDependencies": {
67
66
  "@changesets/changelog-github": "0.5.1",
68
- "@changesets/cli": "2.29.5",
69
- "@types/node": "22.17.0",
70
- "@types/react": "19.1.9",
71
- "@types/react-dom": "19.1.7",
67
+ "@changesets/cli": "2.29.7",
68
+ "@types/node": "24.6.2",
69
+ "@types/react": "19.2.0",
70
+ "@types/react-dom": "19.2.0",
72
71
  "@wkovacs64/prettier-config": "4.2.1",
73
- "eslint": "9.32.0",
72
+ "eslint": "9.36.0",
74
73
  "prettier": "3.6.2",
75
- "typescript": "5.9.2"
74
+ "typescript": "5.9.3"
76
75
  }
77
76
  }