@wistia/eslint-config 2.7.0 → 2.9.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/.github/workflows/release.yml +13 -2
- package/CHANGELOG.md +12 -0
- package/package.json +18 -18
- package/src/rules/node.mjs +8 -0
- package/src/rules/react.mjs +12 -29
- package/test/__snapshots__/javascript.mjs.snap +1 -1
- package/test/__snapshots__/jest.mjs.snap +1 -1
- package/test/__snapshots__/node.mjs.snap +7 -1
- package/test/__snapshots__/react.mjs.snap +21 -22
- package/test/__snapshots__/typescript.mjs.snap +2 -2
- package/test/__snapshots__/vitest.mjs.snap +2 -2
|
@@ -21,11 +21,22 @@ jobs:
|
|
|
21
21
|
runs-on: ubuntu-22.04
|
|
22
22
|
timeout-minutes: 5
|
|
23
23
|
steps:
|
|
24
|
+
- name: Generate GitHub App token
|
|
25
|
+
id: app-token
|
|
26
|
+
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
|
|
27
|
+
with:
|
|
28
|
+
client-id: ${{ secrets.ACTIONS_BOT_GH_APP_CLIENT_ID }}
|
|
29
|
+
private-key: ${{ secrets.ACTIONS_BOT_GH_APP_PRIVATE_KEY }}
|
|
30
|
+
owner: ${{ github.repository_owner }}
|
|
31
|
+
repositories: eslint-config
|
|
32
|
+
|
|
24
33
|
- name: Check out Git repository
|
|
25
34
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
26
35
|
with:
|
|
36
|
+
persist-credentials: false
|
|
27
37
|
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
|
|
28
38
|
fetch-depth: 0
|
|
39
|
+
token: ${{ steps.app-token.outputs.token }}
|
|
29
40
|
|
|
30
41
|
- name: Install Node and npm packages
|
|
31
42
|
uses: ./.github/actions/setup-node-env
|
|
@@ -38,7 +49,7 @@ jobs:
|
|
|
38
49
|
echo "NEW_PACKAGE_VERSION=$(yarn changeset status --output=release.json && jq -r '.releases[0].newVersion' release.json && rm release.json)" >> "$GITHUB_ENV"
|
|
39
50
|
|
|
40
51
|
- name: Create Release Pull Request or Publish to npm
|
|
41
|
-
uses: changesets/action@
|
|
52
|
+
uses: changesets/action@63a615b9cd06ba9a3e6d13796c7fbcb080a60a0b # v1.8.0
|
|
42
53
|
id: changesets
|
|
43
54
|
with:
|
|
44
55
|
createGithubReleases: true
|
|
@@ -46,5 +57,5 @@ jobs:
|
|
|
46
57
|
title: "chore: release v${{env.NEW_PACKAGE_VERSION}}"
|
|
47
58
|
commit: "chore: release v${{env.NEW_PACKAGE_VERSION}}"
|
|
48
59
|
env:
|
|
49
|
-
GITHUB_TOKEN: ${{
|
|
60
|
+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
|
50
61
|
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @wistia/eslint-config
|
|
2
2
|
|
|
3
|
+
## 2.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#491](https://github.com/wistia/eslint-config/pull/491) [`8a65e35`](https://github.com/wistia/eslint-config/commit/8a65e35f1fd9544f8c9367efab1b5921eee1fdc7) Thanks [@okize](https://github.com/okize)! - feat: update react rules for new `eslint-plugin-n` version
|
|
8
|
+
|
|
9
|
+
## 2.8.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#488](https://github.com/wistia/eslint-config/pull/488) [`4f64acf`](https://github.com/wistia/eslint-config/commit/4f64acfdfd01afce6e3cb28759eed217d83a5e7b) Thanks [@okize](https://github.com/okize)! - feat: update react rules for new @eslint-react/eslint-plugin version
|
|
14
|
+
|
|
3
15
|
## 2.7.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/eslint-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"description": "Wistia's ESLint configurations",
|
|
5
5
|
"packageManager": "yarn@4.14.1",
|
|
6
6
|
"type": "module",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"test:export": "check-export-map"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@eslint-react/eslint-plugin": "^
|
|
42
|
-
"@eslint/compat": "^2.0
|
|
41
|
+
"@eslint-react/eslint-plugin": "^5.7.7",
|
|
42
|
+
"@eslint/compat": "^2.1.0",
|
|
43
43
|
"@eslint/js": "^10.0.1",
|
|
44
44
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
45
|
-
"@typescript-eslint/eslint-plugin": "^8.59.
|
|
46
|
-
"@typescript-eslint/parser": "^8.59.
|
|
47
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "^8.59.3",
|
|
46
|
+
"@typescript-eslint/parser": "^8.59.3",
|
|
47
|
+
"@vitest/eslint-plugin": "^1.6.17",
|
|
48
48
|
"confusing-browser-globals": "^1.0.11",
|
|
49
49
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
50
50
|
"eslint-plugin-barrel-files": "^3.0.1",
|
|
@@ -54,30 +54,30 @@
|
|
|
54
54
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
55
55
|
"eslint-plugin-jest-formatting": "^3.1.0",
|
|
56
56
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
57
|
-
"eslint-plugin-n": "^
|
|
58
|
-
"eslint-plugin-no-only-tests": "^3.
|
|
57
|
+
"eslint-plugin-n": "^18.0.1",
|
|
58
|
+
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
59
59
|
"eslint-plugin-playwright": "^2.10.2",
|
|
60
60
|
"eslint-plugin-prettier": "^5.5.5",
|
|
61
|
-
"eslint-plugin-promise": "^7.
|
|
62
|
-
"eslint-plugin-storybook": "^10.3.
|
|
61
|
+
"eslint-plugin-promise": "^7.3.0",
|
|
62
|
+
"eslint-plugin-storybook": "^10.3.6",
|
|
63
63
|
"eslint-plugin-styled-components-a11y": "^2.2.1",
|
|
64
64
|
"eslint-plugin-testing-library": "^7.16.2",
|
|
65
|
-
"globals": "^17.
|
|
66
|
-
"globals-vitest": "^4.1.
|
|
65
|
+
"globals": "^17.6.0",
|
|
66
|
+
"globals-vitest": "^4.1.6"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@changesets/changelog-github": "^0.
|
|
69
|
+
"@changesets/changelog-github": "^0.7.0",
|
|
70
70
|
"@changesets/cli": "^2.31.0",
|
|
71
|
-
"@commitlint/cli": "^
|
|
72
|
-
"@commitlint/config-conventional": "^
|
|
71
|
+
"@commitlint/cli": "^21.0.1",
|
|
72
|
+
"@commitlint/config-conventional": "^21.0.1",
|
|
73
73
|
"check-export-map": "^1.3.1",
|
|
74
|
-
"eslint": "^10.
|
|
74
|
+
"eslint": "^10.3.0",
|
|
75
75
|
"glob": "^13.0.6",
|
|
76
76
|
"husky": "^9.1.7",
|
|
77
77
|
"prettier": "^3.8.3",
|
|
78
|
-
"storybook": "^10.3.
|
|
78
|
+
"storybook": "^10.3.6",
|
|
79
79
|
"typescript": "^6.0.3",
|
|
80
|
-
"vitest": "^4.1.
|
|
80
|
+
"vitest": "^4.1.6"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"eslint": ">= 10",
|
package/src/rules/node.mjs
CHANGED
|
@@ -151,6 +151,10 @@ export default {
|
|
|
151
151
|
// https://github.com/eslint-community/eslint-plugin-n/blob/master/docs/rules/prefer-global/console.md
|
|
152
152
|
'n/prefer-global/console': 'error',
|
|
153
153
|
|
|
154
|
+
// enforce either crypto or require("crypto").webcrypto
|
|
155
|
+
// https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/crypto.md
|
|
156
|
+
'n/prefer-global/crypto': 'error',
|
|
157
|
+
|
|
154
158
|
// enforce either process or require("process")
|
|
155
159
|
// https://github.com/eslint-community/eslint-plugin-n/blob/master/docs/rules/prefer-global/process.md
|
|
156
160
|
'n/prefer-global/process': 'error',
|
|
@@ -163,6 +167,10 @@ export default {
|
|
|
163
167
|
// https://github.com/eslint-community/eslint-plugin-n/blob/master/docs/rules/prefer-global/text-encoder.md
|
|
164
168
|
'n/prefer-global/text-encoder': 'error',
|
|
165
169
|
|
|
170
|
+
// enforce either global timers or require("timers")
|
|
171
|
+
// https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/timers.md
|
|
172
|
+
'n/prefer-global/timers': 'error',
|
|
173
|
+
|
|
166
174
|
// enforce either URLSearchParams or require("url").URLSearchParams
|
|
167
175
|
// https://github.com/eslint-community/eslint-plugin-n/blob/master/docs/rules/prefer-global/url-search-params.md
|
|
168
176
|
'n/prefer-global/url-search-params': 'error',
|
package/src/rules/react.mjs
CHANGED
|
@@ -30,14 +30,14 @@ export default {
|
|
|
30
30
|
|
|
31
31
|
// --- Core React rules ---
|
|
32
32
|
|
|
33
|
-
// Validates higher order functions defining nested components or hooks
|
|
34
|
-
// https://eslint-react.xyz/docs/rules/component-hook-factories
|
|
35
|
-
'@eslint-react/component-hook-factories': 'error',
|
|
36
|
-
|
|
37
33
|
// Validates usage of Error Boundaries instead of try/catch for child errors
|
|
38
34
|
// https://eslint-react.xyz/docs/rules/error-boundaries
|
|
39
35
|
'@eslint-react/error-boundaries': 'error',
|
|
40
36
|
|
|
37
|
+
// Restricts usage of global variables in React components
|
|
38
|
+
// https://eslint-react.xyz/docs/rules/globals
|
|
39
|
+
'@eslint-react/globals': 'error',
|
|
40
|
+
|
|
41
41
|
// Verify the list of the dependencies for Hooks like useEffect and similar
|
|
42
42
|
// https://eslint-react.xyz/docs/rules/exhaustive-deps
|
|
43
43
|
'@eslint-react/exhaustive-deps': 'error',
|
|
@@ -154,10 +154,6 @@ export default {
|
|
|
154
154
|
// https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
155
155
|
'@eslint-react/no-nested-lazy-component-declarations': 'error',
|
|
156
156
|
|
|
157
|
-
// Prevent usage of shouldComponentUpdate when extending React.PureComponent
|
|
158
|
-
// https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
|
|
159
|
-
'@eslint-react/no-redundant-should-component-update': 'error',
|
|
160
|
-
|
|
161
157
|
// Prevent usage of setState in componentDidMount
|
|
162
158
|
// https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
|
|
163
159
|
'@eslint-react/no-set-state-in-component-did-mount': 'error',
|
|
@@ -170,14 +166,6 @@ export default {
|
|
|
170
166
|
// https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
|
|
171
167
|
'@eslint-react/no-set-state-in-component-will-update': 'error',
|
|
172
168
|
|
|
173
|
-
// Disallow unnecessary useCallback hooks
|
|
174
|
-
// https://eslint-react.xyz/docs/rules/no-unnecessary-use-callback
|
|
175
|
-
'@eslint-react/no-unnecessary-use-callback': 'error',
|
|
176
|
-
|
|
177
|
-
// Disallow unnecessary useMemo hooks
|
|
178
|
-
// https://eslint-react.xyz/docs/rules/no-unnecessary-use-memo
|
|
179
|
-
'@eslint-react/no-unnecessary-use-memo': 'error',
|
|
180
|
-
|
|
181
169
|
// Disallow unnecessary "use" prefix on custom hooks
|
|
182
170
|
// https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
|
|
183
171
|
'@eslint-react/no-unnecessary-use-prefix': 'error',
|
|
@@ -218,15 +206,6 @@ export default {
|
|
|
218
206
|
// https://eslint-react.xyz/docs/rules/no-use-context
|
|
219
207
|
'@eslint-react/no-use-context': 'error',
|
|
220
208
|
|
|
221
|
-
// Enforce consistent usage of destructuring assignment of props, state, and context
|
|
222
|
-
// https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
|
|
223
|
-
// decision: best left up to the implementer
|
|
224
|
-
'@eslint-react/prefer-destructuring-assignment': 'off',
|
|
225
|
-
|
|
226
|
-
// Enforce importing React via a namespace import
|
|
227
|
-
// https://eslint-react.xyz/docs/rules/prefer-namespace-import
|
|
228
|
-
'@eslint-react/prefer-namespace-import': 'off',
|
|
229
|
-
|
|
230
209
|
// Validates that components/hooks are pure
|
|
231
210
|
// https://eslint-react.xyz/docs/rules/purity
|
|
232
211
|
'@eslint-react/purity': 'error',
|
|
@@ -247,6 +226,10 @@ export default {
|
|
|
247
226
|
// https://eslint-react.xyz/docs/rules/set-state-in-render
|
|
248
227
|
'@eslint-react/set-state-in-render': 'error',
|
|
249
228
|
|
|
229
|
+
// Enforces static component definitions
|
|
230
|
+
// https://eslint-react.xyz/docs/rules/static-components
|
|
231
|
+
'@eslint-react/static-components': 'error',
|
|
232
|
+
|
|
250
233
|
// Validates against syntax that React does not support
|
|
251
234
|
// https://eslint-react.xyz/docs/rules/unsupported-syntax
|
|
252
235
|
'@eslint-react/unsupported-syntax': 'error',
|
|
@@ -359,10 +342,6 @@ export default {
|
|
|
359
342
|
// https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
360
343
|
'@eslint-react/dom-no-void-elements-with-children': 'error',
|
|
361
344
|
|
|
362
|
-
// Enforce importing React DOM via a namespace import
|
|
363
|
-
// https://eslint-react.xyz/docs/rules/dom-prefer-namespace-import
|
|
364
|
-
'@eslint-react/dom-prefer-namespace-import': 'off',
|
|
365
|
-
|
|
366
345
|
// --- RSC rules ---
|
|
367
346
|
|
|
368
347
|
// Enforce correct function definition for React Server Components
|
|
@@ -400,4 +379,8 @@ export default {
|
|
|
400
379
|
// Prevent leaked setTimeout calls
|
|
401
380
|
// https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
|
|
402
381
|
'@eslint-react/web-api-no-leaked-timeout': 'error',
|
|
382
|
+
|
|
383
|
+
// Prevent leaked fetch calls in effects
|
|
384
|
+
// https://eslint-react.xyz/docs/rules/web-api-no-leaked-fetch
|
|
385
|
+
'@eslint-react/web-api-no-leaked-fetch': 'error',
|
|
403
386
|
};
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
},
|
|
98
98
|
"plugins": [
|
|
99
99
|
"@",
|
|
100
|
-
"n:eslint-plugin-n@
|
|
100
|
+
"n:eslint-plugin-n@18.0.1",
|
|
101
101
|
"import-x:eslint-plugin-import-x@4.16.2",
|
|
102
102
|
],
|
|
103
103
|
"rules": {
|
|
@@ -209,6 +209,9 @@
|
|
|
209
209
|
"n/prefer-global/console": [
|
|
210
210
|
2,
|
|
211
211
|
],
|
|
212
|
+
"n/prefer-global/crypto": [
|
|
213
|
+
2,
|
|
214
|
+
],
|
|
212
215
|
"n/prefer-global/process": [
|
|
213
216
|
2,
|
|
214
217
|
],
|
|
@@ -218,6 +221,9 @@
|
|
|
218
221
|
"n/prefer-global/text-encoder": [
|
|
219
222
|
2,
|
|
220
223
|
],
|
|
224
|
+
"n/prefer-global/timers": [
|
|
225
|
+
2,
|
|
226
|
+
],
|
|
221
227
|
"n/prefer-global/url": [
|
|
222
228
|
2,
|
|
223
229
|
],
|
|
@@ -906,8 +906,12 @@
|
|
|
906
906
|
"XRBoundedReferenceSpace": false,
|
|
907
907
|
"XRCPUDepthInformation": false,
|
|
908
908
|
"XRCamera": false,
|
|
909
|
+
"XRCompositionLayer": false,
|
|
910
|
+
"XRCubeLayer": false,
|
|
911
|
+
"XRCylinderLayer": false,
|
|
909
912
|
"XRDOMOverlayState": false,
|
|
910
913
|
"XRDepthInformation": false,
|
|
914
|
+
"XREquirectLayer": false,
|
|
911
915
|
"XRFrame": false,
|
|
912
916
|
"XRHand": false,
|
|
913
917
|
"XRHitTestResult": false,
|
|
@@ -919,9 +923,14 @@
|
|
|
919
923
|
"XRJointPose": false,
|
|
920
924
|
"XRJointSpace": false,
|
|
921
925
|
"XRLayer": false,
|
|
926
|
+
"XRLayerEvent": false,
|
|
922
927
|
"XRLightEstimate": false,
|
|
923
928
|
"XRLightProbe": false,
|
|
929
|
+
"XRPlane": false,
|
|
930
|
+
"XRPlaneSet": false,
|
|
924
931
|
"XRPose": false,
|
|
932
|
+
"XRProjectionLayer": false,
|
|
933
|
+
"XRQuadLayer": false,
|
|
925
934
|
"XRRay": false,
|
|
926
935
|
"XRReferenceSpace": false,
|
|
927
936
|
"XRReferenceSpaceEvent": false,
|
|
@@ -930,6 +939,7 @@
|
|
|
930
939
|
"XRSession": false,
|
|
931
940
|
"XRSessionEvent": false,
|
|
932
941
|
"XRSpace": false,
|
|
942
|
+
"XRSubImage": false,
|
|
933
943
|
"XRSystem": false,
|
|
934
944
|
"XRTransientInputHitTestResult": false,
|
|
935
945
|
"XRTransientInputHitTestSource": false,
|
|
@@ -940,6 +950,7 @@
|
|
|
940
950
|
"XRWebGLBinding": false,
|
|
941
951
|
"XRWebGLDepthInformation": false,
|
|
942
952
|
"XRWebGLLayer": false,
|
|
953
|
+
"XRWebGLSubImage": false,
|
|
943
954
|
"XSLTProcessor": false,
|
|
944
955
|
"addEventListener": false,
|
|
945
956
|
"ai": false,
|
|
@@ -1193,13 +1204,10 @@
|
|
|
1193
1204
|
},
|
|
1194
1205
|
"plugins": [
|
|
1195
1206
|
"@",
|
|
1196
|
-
"@eslint-react:@eslint-react/eslint-plugin@
|
|
1207
|
+
"@eslint-react:@eslint-react/eslint-plugin@5.7.7",
|
|
1197
1208
|
"jsx-a11y:eslint-plugin-jsx-a11y@6.10.2",
|
|
1198
1209
|
],
|
|
1199
1210
|
"rules": {
|
|
1200
|
-
"@eslint-react/component-hook-factories": [
|
|
1201
|
-
2,
|
|
1202
|
-
],
|
|
1203
1211
|
"@eslint-react/dom-no-dangerously-set-innerhtml": [
|
|
1204
1212
|
2,
|
|
1205
1213
|
],
|
|
@@ -1248,15 +1256,15 @@
|
|
|
1248
1256
|
"@eslint-react/dom-no-void-elements-with-children": [
|
|
1249
1257
|
2,
|
|
1250
1258
|
],
|
|
1251
|
-
"@eslint-react/dom-prefer-namespace-import": [
|
|
1252
|
-
0,
|
|
1253
|
-
],
|
|
1254
1259
|
"@eslint-react/error-boundaries": [
|
|
1255
1260
|
2,
|
|
1256
1261
|
],
|
|
1257
1262
|
"@eslint-react/exhaustive-deps": [
|
|
1258
1263
|
2,
|
|
1259
1264
|
],
|
|
1265
|
+
"@eslint-react/globals": [
|
|
1266
|
+
2,
|
|
1267
|
+
],
|
|
1260
1268
|
"@eslint-react/immutability": [
|
|
1261
1269
|
2,
|
|
1262
1270
|
],
|
|
@@ -1378,9 +1386,6 @@
|
|
|
1378
1386
|
"@eslint-react/no-nested-lazy-component-declarations": [
|
|
1379
1387
|
2,
|
|
1380
1388
|
],
|
|
1381
|
-
"@eslint-react/no-redundant-should-component-update": [
|
|
1382
|
-
2,
|
|
1383
|
-
],
|
|
1384
1389
|
"@eslint-react/no-set-state-in-component-did-mount": [
|
|
1385
1390
|
2,
|
|
1386
1391
|
],
|
|
@@ -1390,12 +1395,6 @@
|
|
|
1390
1395
|
"@eslint-react/no-set-state-in-component-will-update": [
|
|
1391
1396
|
2,
|
|
1392
1397
|
],
|
|
1393
|
-
"@eslint-react/no-unnecessary-use-callback": [
|
|
1394
|
-
2,
|
|
1395
|
-
],
|
|
1396
|
-
"@eslint-react/no-unnecessary-use-memo": [
|
|
1397
|
-
2,
|
|
1398
|
-
],
|
|
1399
1398
|
"@eslint-react/no-unnecessary-use-prefix": [
|
|
1400
1399
|
2,
|
|
1401
1400
|
],
|
|
@@ -1426,12 +1425,6 @@
|
|
|
1426
1425
|
"@eslint-react/no-use-context": [
|
|
1427
1426
|
2,
|
|
1428
1427
|
],
|
|
1429
|
-
"@eslint-react/prefer-destructuring-assignment": [
|
|
1430
|
-
0,
|
|
1431
|
-
],
|
|
1432
|
-
"@eslint-react/prefer-namespace-import": [
|
|
1433
|
-
0,
|
|
1434
|
-
],
|
|
1435
1428
|
"@eslint-react/purity": [
|
|
1436
1429
|
2,
|
|
1437
1430
|
],
|
|
@@ -1450,6 +1443,9 @@
|
|
|
1450
1443
|
"@eslint-react/set-state-in-render": [
|
|
1451
1444
|
2,
|
|
1452
1445
|
],
|
|
1446
|
+
"@eslint-react/static-components": [
|
|
1447
|
+
2,
|
|
1448
|
+
],
|
|
1453
1449
|
"@eslint-react/unsupported-syntax": [
|
|
1454
1450
|
2,
|
|
1455
1451
|
],
|
|
@@ -1462,6 +1458,9 @@
|
|
|
1462
1458
|
"@eslint-react/web-api-no-leaked-event-listener": [
|
|
1463
1459
|
2,
|
|
1464
1460
|
],
|
|
1461
|
+
"@eslint-react/web-api-no-leaked-fetch": [
|
|
1462
|
+
2,
|
|
1463
|
+
],
|
|
1465
1464
|
"@eslint-react/web-api-no-leaked-interval": [
|
|
1466
1465
|
2,
|
|
1467
1466
|
],
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"undefined": false,
|
|
65
65
|
"unescape": false,
|
|
66
66
|
},
|
|
67
|
-
"parser": "typescript-eslint/parser@8.59.
|
|
67
|
+
"parser": "typescript-eslint/parser@8.59.3",
|
|
68
68
|
"parserOptions": {
|
|
69
69
|
"ecmaVersion": 2024,
|
|
70
70
|
"project": "./tsconfig.json",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"plugins": [
|
|
79
79
|
"@",
|
|
80
80
|
"@stylistic:@stylistic/eslint-plugin@5.10.0",
|
|
81
|
-
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.59.
|
|
81
|
+
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.59.3",
|
|
82
82
|
"barrel-files:eslint-plugin-barrel-files@3.0.1",
|
|
83
83
|
"filenames",
|
|
84
84
|
"import-x:eslint-plugin-import-x@4.16.2",
|