@nihalgonsalves/esconfig 0.10.24 → 0.10.26
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/eslint.config.react-shared.js +1 -4
- package/eslint.config.shared.js +1 -2
- package/package.json +14 -14
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
// @ts-expect-error no types
|
|
2
1
|
import prettierConfig from "eslint-config-prettier";
|
|
3
2
|
// @ts-expect-error no types
|
|
4
3
|
import jsxA11y from "eslint-plugin-jsx-a11y";
|
|
5
4
|
import react from "eslint-plugin-react";
|
|
6
|
-
// @ts-expect-error no types
|
|
7
5
|
import reactHooks from "eslint-plugin-react-hooks";
|
|
8
6
|
import tseslint from "typescript-eslint";
|
|
9
7
|
|
|
@@ -16,7 +14,6 @@ export default tseslint.config(
|
|
|
16
14
|
react.configs.flat["jsx-runtime"],
|
|
17
15
|
{
|
|
18
16
|
plugins: {
|
|
19
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
20
17
|
"react-hooks": reactHooks,
|
|
21
18
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
22
19
|
"jsx-a11y": jsxA11y,
|
|
@@ -386,6 +383,6 @@ export default tseslint.config(
|
|
|
386
383
|
"jsx-a11y/tabindex-no-positive": "error",
|
|
387
384
|
},
|
|
388
385
|
},
|
|
389
|
-
|
|
386
|
+
|
|
390
387
|
prettierConfig,
|
|
391
388
|
);
|
package/eslint.config.shared.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import js from "@eslint/js";
|
|
2
|
-
// @ts-expect-error no types
|
|
3
2
|
import prettierConfig from "eslint-config-prettier";
|
|
4
3
|
// @ts-expect-error no types
|
|
5
4
|
import importPlugin from "eslint-plugin-import";
|
|
@@ -224,6 +223,6 @@ export default tseslint.config(
|
|
|
224
223
|
"import/no-default-export": "off",
|
|
225
224
|
},
|
|
226
225
|
},
|
|
227
|
-
|
|
226
|
+
|
|
228
227
|
prettierConfig,
|
|
229
228
|
);
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nihalgonsalves/esconfig",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.26",
|
|
4
4
|
"description": "Shared ECMAScript Config (TS, Lint, Prettier)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "git@github.com:nihalgonsalves/esconfig.git",
|
|
7
7
|
"author": "Nihal Gonsalves <nihal@nihalgonsalves.com>",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"type": "module",
|
|
10
|
-
"packageManager": "yarn@4.
|
|
10
|
+
"packageManager": "yarn@4.7.0+sha512.5a0afa1d4c1d844b3447ee3319633797bcd6385d9a44be07993ae52ff4facabccafb4af5dcd1c2f9a94ac113e5e9ff56f6130431905884414229e284e37bb7c9",
|
|
11
11
|
"files": [
|
|
12
12
|
"eslint.config.shared.js",
|
|
13
13
|
"eslint.config.shared.d.ts",
|
|
@@ -22,23 +22,23 @@
|
|
|
22
22
|
"format:check": "prettier . --check"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@eslint/js": "^9.
|
|
26
|
-
"eslint-config-prettier": "^10.
|
|
25
|
+
"@eslint/js": "^9.22.0",
|
|
26
|
+
"eslint-config-prettier": "^10.1.1",
|
|
27
27
|
"eslint-plugin-import": "^2.31.0",
|
|
28
28
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
29
29
|
"eslint-plugin-react": "^7.37.4",
|
|
30
|
-
"eslint-plugin-react-hooks": "^5.
|
|
31
|
-
"typescript-eslint": "^8.
|
|
30
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
31
|
+
"typescript-eslint": "^8.26.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@commitlint/cli": "^19.
|
|
35
|
-
"@commitlint/config-conventional": "^19.
|
|
36
|
-
"@types/node": "^22.13.
|
|
37
|
-
"eslint": "^9.
|
|
38
|
-
"knip": "^5.
|
|
39
|
-
"lefthook": "^1.11.
|
|
40
|
-
"prettier": "^3.5.
|
|
41
|
-
"typescript": "^5.
|
|
34
|
+
"@commitlint/cli": "^19.8.0",
|
|
35
|
+
"@commitlint/config-conventional": "^19.8.0",
|
|
36
|
+
"@types/node": "^22.13.10",
|
|
37
|
+
"eslint": "^9.22.0",
|
|
38
|
+
"knip": "^5.45.0",
|
|
39
|
+
"lefthook": "^1.11.3",
|
|
40
|
+
"prettier": "^3.5.3",
|
|
41
|
+
"typescript": "^5.8.2"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"eslint": "^9.17.0",
|