@jimmy.codes/eslint-config 5.15.0 → 5.16.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 +1 -1
- package/dist/index.d.ts +183 -3843
- package/dist/index.js +2 -0
- package/package.json +19 -12
package/dist/index.js
CHANGED
|
@@ -167,6 +167,8 @@ var additionalRules = {
|
|
|
167
167
|
// Flags unintended use of `${}` inside strings without backticks
|
|
168
168
|
"no-throw-literal": "error",
|
|
169
169
|
// Prevents throwing non-error objects (e.g., `throw "error"` should be `throw new Error("error")`)
|
|
170
|
+
"no-unassigned-vars": "error",
|
|
171
|
+
// Disallow let or var variables that are read but never assigned
|
|
170
172
|
"no-unmodified-loop-condition": "error",
|
|
171
173
|
// Ensures loop conditions change, preventing infinite loops
|
|
172
174
|
"no-unreachable-loop": "error",
|
package/package.json
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jimmy.codes/eslint-config",
|
|
3
|
-
"version": "5.
|
|
4
|
-
"description": "A
|
|
3
|
+
"version": "5.16.0",
|
|
4
|
+
"description": "A simple, modern ESLint config that covers most use cases.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
7
7
|
"eslint-config",
|
|
8
|
-
"
|
|
8
|
+
"typescript",
|
|
9
|
+
"react",
|
|
10
|
+
"nextjs",
|
|
11
|
+
"astro",
|
|
12
|
+
"vitest",
|
|
13
|
+
"tanstack-query",
|
|
14
|
+
"react-compiler",
|
|
15
|
+
"modern",
|
|
16
|
+
"opinionated",
|
|
17
|
+
"testing"
|
|
9
18
|
],
|
|
10
19
|
"repository": {
|
|
11
20
|
"type": "git",
|
|
@@ -24,12 +33,10 @@
|
|
|
24
33
|
],
|
|
25
34
|
"dependencies": {
|
|
26
35
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
27
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
28
|
-
"@eslint-react/kit": "^1.50.0",
|
|
29
|
-
"@eslint-react/shared": "^1.50.0",
|
|
36
|
+
"@eslint-react/eslint-plugin": "^1.51.0",
|
|
30
37
|
"@eslint/js": "^9.28.0",
|
|
31
38
|
"@next/eslint-plugin-next": "^15.3.3",
|
|
32
|
-
"@stylistic/eslint-plugin": "^4.4.
|
|
39
|
+
"@stylistic/eslint-plugin": "^4.4.1",
|
|
33
40
|
"@tanstack/eslint-plugin-query": "^5.78.0",
|
|
34
41
|
"@types/eslint": "9.6.1",
|
|
35
42
|
"@typescript-eslint/parser": "^8.33.1",
|
|
@@ -37,22 +44,22 @@
|
|
|
37
44
|
"@vitest/eslint-plugin": "^1.2.1",
|
|
38
45
|
"astro-eslint-parser": "^1.2.2",
|
|
39
46
|
"eslint-config-prettier": "^10.1.5",
|
|
40
|
-
"eslint-import-resolver-typescript": "^4.4.
|
|
47
|
+
"eslint-import-resolver-typescript": "^4.4.3",
|
|
41
48
|
"eslint-plugin-astro": "^1.3.1",
|
|
42
|
-
"eslint-plugin-import-x": "^4.15.
|
|
49
|
+
"eslint-plugin-import-x": "^4.15.1",
|
|
43
50
|
"eslint-plugin-jest": "^28.12.0",
|
|
44
51
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
45
52
|
"eslint-plugin-jsdoc": "^50.7.1",
|
|
46
53
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
47
54
|
"eslint-plugin-n": "^17.19.0",
|
|
48
|
-
"eslint-plugin-perfectionist": "^4.
|
|
55
|
+
"eslint-plugin-perfectionist": "^4.14.0",
|
|
49
56
|
"eslint-plugin-playwright": "^2.2.0",
|
|
50
57
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
51
58
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
52
59
|
"eslint-plugin-react-refresh": "0.4.20",
|
|
53
|
-
"eslint-plugin-regexp": "^2.
|
|
60
|
+
"eslint-plugin-regexp": "^2.8.0",
|
|
54
61
|
"eslint-plugin-storybook": "0.12.0",
|
|
55
|
-
"eslint-plugin-testing-library": "^7.
|
|
62
|
+
"eslint-plugin-testing-library": "^7.4.0",
|
|
56
63
|
"eslint-plugin-unicorn": "^59.0.1",
|
|
57
64
|
"globals": "^16.2.0",
|
|
58
65
|
"local-pkg": "^1.1.1",
|