@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.
- package/README.md +5 -3
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://www.npmjs.com/package/@daniel-rose/eslint-config)
|
|
6
6
|
[](https://github.com/daniel-rose/envex/blob/main/LICENSE)
|
|
7
7
|
|
|
8
|
-
Opinionated ESLint
|
|
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 ^
|
|
24
|
-
Optional peers (for React): `eslint-plugin-react-hooks
|
|
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": "
|
|
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": "^
|
|
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.
|
|
29
|
+
"typescript-eslint": "^8.71.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"eslint": "^
|
|
33
|
-
"eslint-plugin-react-hooks": "^7.0
|
|
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": "^
|
|
46
|
-
"@daniel-rose/semantic-release-config": "^
|
|
47
|
-
"eslint": "^
|
|
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.
|
|
50
|
-
"prettier": "^3.9.
|
|
51
|
-
"semantic-release": "^25.0.
|
|
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",
|