@agilebot/eslint-plugin 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +2 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license @agilebot/eslint-plugin v0.6.
|
2
|
+
* @license @agilebot/eslint-plugin v0.6.1
|
3
3
|
*
|
4
4
|
* Copyright (c) Agilebot, Inc. and its affiliates.
|
5
5
|
*
|
@@ -1018,7 +1018,7 @@ var reactBetterExhaustiveDeps = {
|
|
1018
1018
|
} else if (Array.isArray(staticParts)) {
|
1019
1019
|
if (id.type === 'ArrayPattern' && id.elements.length <= staticParts.length && Array.isArray(resolved.identifiers)) {
|
1020
1020
|
const idx = id.elements.indexOf(resolved.identifiers[0]);
|
1021
|
-
if (idx
|
1021
|
+
if (idx !== -1) {
|
1022
1022
|
return staticParts[idx];
|
1023
1023
|
}
|
1024
1024
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@agilebot/eslint-plugin",
|
3
|
-
"version": "0.6.
|
3
|
+
"version": "0.6.1",
|
4
4
|
"description": "Agilebot's ESLint plugin",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -18,10 +18,10 @@
|
|
18
18
|
"node": "^18.18.0 || >=20.0.0"
|
19
19
|
},
|
20
20
|
"dependencies": {
|
21
|
-
"@eslint/compat": "^1.2.
|
22
|
-
"@typescript-eslint/utils": "~8.
|
21
|
+
"@eslint/compat": "^1.2.3",
|
22
|
+
"@typescript-eslint/utils": "~8.15.0",
|
23
23
|
"eslint-plugin-react": "^7.37.2",
|
24
|
-
"@agilebot/eslint-utils": "0.6.
|
24
|
+
"@agilebot/eslint-utils": "0.6.1"
|
25
25
|
},
|
26
26
|
"peerDependencies": {
|
27
27
|
"eslint": "^7.0.0 || ^8.0.0 || ^9.0.0"
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"@types/estree": "^1.0.5",
|
35
35
|
"color-name": "^2.0.0",
|
36
36
|
"eslint-vitest-rule-tester": "^0.6.1",
|
37
|
-
"typescript-eslint": "~8.
|
37
|
+
"typescript-eslint": "~8.15.0"
|
38
38
|
},
|
39
39
|
"scripts": {
|
40
40
|
"build": "rollup -c rollup.config.mjs",
|