@daniel-rose/eslint-config 1.3.0 → 3.0.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 +5 -3
  2. package/package.json +11 -11
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![npm version](https://img.shields.io/npm/v/@daniel-rose/eslint-config.svg)](https://www.npmjs.com/package/@daniel-rose/eslint-config)
6
6
  [![License](https://img.shields.io/npm/l/@daniel-rose/eslint-config.svg)](https://github.com/daniel-rose/envex/blob/main/LICENSE)
7
7
 
8
- Opinionated ESLint 9 flat config with TypeScript, Prettier integration, and an optional React preset.
8
+ Opinionated ESLint 10 flat config with TypeScript, Prettier integration, and an optional React preset.
9
9
 
10
10
  ## Installation
11
11
 
@@ -20,8 +20,10 @@ yarn add @daniel-rose/eslint-config
20
20
  pnpm add @daniel-rose/eslint-config
21
21
  ```
22
22
 
23
- Peer dependencies: `eslint ^9`
24
- Optional peers (for React): `eslint-plugin-react-hooks`, `eslint-plugin-react-refresh`
23
+ Peer dependencies: `eslint ^10`
24
+ Optional peers (for React): `eslint-plugin-react-hooks` (`^7.1.0`), `eslint-plugin-react-refresh`
25
+
26
+ Still on ESLint 9? Stay on `@daniel-rose/eslint-config@2`.
25
27
 
26
28
  ## Usage
27
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daniel-rose/eslint-config",
3
- "version": "1.3.0",
3
+ "version": "3.0.0",
4
4
  "license": "MIT",
5
5
  "author": "Daniel Rose",
6
6
  "keywords": [
@@ -23,14 +23,14 @@
23
23
  }
24
24
  },
25
25
  "dependencies": {
26
- "@eslint/js": "^9.39.5",
26
+ "@eslint/js": "^10.0.1",
27
27
  "eslint-config-prettier": "^10.1.8",
28
28
  "eslint-plugin-prettier": "^5.5.6",
29
- "typescript-eslint": "^8.63.0"
29
+ "typescript-eslint": "^8.71.0"
30
30
  },
31
31
  "peerDependencies": {
32
- "eslint": "^9",
33
- "eslint-plugin-react-hooks": "^7.0.1",
32
+ "eslint": "^10",
33
+ "eslint-plugin-react-hooks": "^7.1.0",
34
34
  "eslint-plugin-react-refresh": "^0.5.0"
35
35
  },
36
36
  "peerDependenciesMeta": {
@@ -42,13 +42,13 @@
42
42
  }
43
43
  },
44
44
  "devDependencies": {
45
- "@daniel-rose/prettier-config": "^1.3.0",
46
- "@daniel-rose/semantic-release-config": "^1.3.0",
47
- "eslint": "^9.39.5",
45
+ "@daniel-rose/prettier-config": "^2.0.0",
46
+ "@daniel-rose/semantic-release-config": "^2.0.0",
47
+ "eslint": "^10.12.0",
48
48
  "eslint-plugin-react-hooks": "^7.1.1",
49
- "eslint-plugin-react-refresh": "^0.5.3",
50
- "prettier": "^3.9.5",
51
- "semantic-release": "^25.0.6"
49
+ "eslint-plugin-react-refresh": "^0.5.7",
50
+ "prettier": "^3.9.9",
51
+ "semantic-release": "^25.0.9"
52
52
  },
53
53
  "repository": {
54
54
  "type": "git",