@storm-software/eslint 0.170.81 → 0.170.82
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/dist/preset.cjs +58 -57
- package/dist/preset.js +58 -57
- package/package.json +8 -8
package/dist/preset.cjs
CHANGED
|
@@ -4439,7 +4439,7 @@ init_cjs_shims();
|
|
|
4439
4439
|
|
|
4440
4440
|
// ../eslint-plugin-banner/package.json
|
|
4441
4441
|
var package_default = {
|
|
4442
|
-
version: "0.0.
|
|
4442
|
+
version: "0.0.21"};
|
|
4443
4443
|
|
|
4444
4444
|
// ../eslint-plugin-banner/src/rules/banner.ts
|
|
4445
4445
|
init_cjs_shims();
|
|
@@ -18459,7 +18459,7 @@ plugin3.configs = configs3;
|
|
|
18459
18459
|
|
|
18460
18460
|
// ../eslint-plugin-pnpm/package.json
|
|
18461
18461
|
var package_default2 = {
|
|
18462
|
-
version: "0.0.
|
|
18462
|
+
version: "0.0.20"};
|
|
18463
18463
|
|
|
18464
18464
|
// ../eslint-plugin-pnpm/src/plugin.ts
|
|
18465
18465
|
var plugin4 = {
|
|
@@ -18714,17 +18714,17 @@ async function react(options = {}) {
|
|
|
18714
18714
|
name: "storm/react/rules",
|
|
18715
18715
|
rules: {
|
|
18716
18716
|
// recommended rules from @eslint-react/dom
|
|
18717
|
-
"react-
|
|
18718
|
-
"react-
|
|
18719
|
-
"react-
|
|
18720
|
-
"react-
|
|
18721
|
-
"react-
|
|
18722
|
-
"react-
|
|
18723
|
-
"react-
|
|
18724
|
-
"react-
|
|
18725
|
-
"react-
|
|
18726
|
-
"react-
|
|
18727
|
-
"react-
|
|
18717
|
+
"@eslint-react/dom-no-void-elements-with-children": "warn",
|
|
18718
|
+
"@eslint-react/dom-no-dangerously-set-innerhtml": "warn",
|
|
18719
|
+
"@eslint-react/dom-no-dangerously-set-innerhtml-with-children": "error",
|
|
18720
|
+
"@eslint-react/dom-no-find-dom-node": "error",
|
|
18721
|
+
"@eslint-react/dom-no-missing-button-type": "warn",
|
|
18722
|
+
"@eslint-react/dom-no-missing-iframe-sandbox": "warn",
|
|
18723
|
+
"@eslint-react/dom-no-namespace": "error",
|
|
18724
|
+
"@eslint-react/dom-no-render-return-value": "error",
|
|
18725
|
+
"@eslint-react/dom-no-script-url": "warn",
|
|
18726
|
+
"@eslint-react/dom-no-unsafe-iframe-sandbox": "warn",
|
|
18727
|
+
"@eslint-react/dom-no-unsafe-target-blank": "warn",
|
|
18728
18728
|
// recommended rules react-hooks
|
|
18729
18729
|
"react-hooks/exhaustive-deps": "warn",
|
|
18730
18730
|
"react-hooks/rules-of-hooks": "error",
|
|
@@ -18753,51 +18753,52 @@ async function react(options = {}) {
|
|
|
18753
18753
|
}
|
|
18754
18754
|
],
|
|
18755
18755
|
// recommended rules from @eslint-react/web-api
|
|
18756
|
-
"react
|
|
18757
|
-
"react
|
|
18758
|
-
"react
|
|
18759
|
-
"react
|
|
18756
|
+
"@eslint-react/web-api-no-leaked-event-listener": "warn",
|
|
18757
|
+
"@eslint-react/web-api-no-leaked-interval": "warn",
|
|
18758
|
+
"@eslint-react/web-api-no-leaked-resize-observer": "warn",
|
|
18759
|
+
"@eslint-react/web-api-no-leaked-timeout": "warn",
|
|
18760
18760
|
// recommended rules from @eslint-react
|
|
18761
|
-
"react/
|
|
18762
|
-
"react/
|
|
18763
|
-
"react/jsx-
|
|
18764
|
-
"react/
|
|
18765
|
-
"react/no-
|
|
18766
|
-
"react/no-
|
|
18767
|
-
"react/no-children-
|
|
18768
|
-
"react/no-children-
|
|
18769
|
-
"react/no-children-
|
|
18770
|
-
"react/no-children-
|
|
18771
|
-
"react/no-
|
|
18772
|
-
"react/no-
|
|
18773
|
-
"react/no-
|
|
18774
|
-
"react/no-component-will-
|
|
18775
|
-
"react/no-component-will-
|
|
18776
|
-
"react/no-
|
|
18777
|
-
"react/no-
|
|
18778
|
-
"react/no-
|
|
18779
|
-
"react/no-
|
|
18780
|
-
"react/no-
|
|
18781
|
-
"react/no-
|
|
18782
|
-
"react/no-
|
|
18783
|
-
"react/no-
|
|
18784
|
-
"react/no-
|
|
18785
|
-
"react/no-
|
|
18786
|
-
"react/no-
|
|
18787
|
-
"react/no-
|
|
18788
|
-
"react/no-set-state-in-component-did-
|
|
18789
|
-
"react/no-set-state-in-component-
|
|
18790
|
-
"react/no-
|
|
18791
|
-
"react/no-
|
|
18792
|
-
"react/no-unsafe-component-will-
|
|
18793
|
-
"react/no-unsafe-component-will-
|
|
18794
|
-
"react/no-
|
|
18795
|
-
"react/no-unstable-
|
|
18796
|
-
"react/no-
|
|
18797
|
-
"react/no-unused-
|
|
18798
|
-
"react/
|
|
18799
|
-
"react/prefer-
|
|
18800
|
-
"react/prefer-shorthand-
|
|
18761
|
+
"@eslint-react/error-boundaries": "error",
|
|
18762
|
+
"@eslint-react/ensure-forward-ref-using-ref": "warn",
|
|
18763
|
+
"@eslint-react/jsx-no-duplicate-props": "warn",
|
|
18764
|
+
"@eslint-react/jsx-uses-vars": "warn",
|
|
18765
|
+
"@eslint-react/no-access-state-in-setstate": "error",
|
|
18766
|
+
"@eslint-react/no-array-index-key": "warn",
|
|
18767
|
+
"@eslint-react/no-children-count": "warn",
|
|
18768
|
+
"@eslint-react/no-children-for-each": "warn",
|
|
18769
|
+
"@eslint-react/no-children-map": "warn",
|
|
18770
|
+
"@eslint-react/no-children-only": "warn",
|
|
18771
|
+
"@eslint-react/no-children-to-array": "warn",
|
|
18772
|
+
"@eslint-react/no-clone-element": "warn",
|
|
18773
|
+
"@eslint-react/no-comment-textnodes": "warn",
|
|
18774
|
+
"@eslint-react/no-component-will-mount": "error",
|
|
18775
|
+
"@eslint-react/no-component-will-receive-props": "error",
|
|
18776
|
+
"@eslint-react/no-component-will-update": "error",
|
|
18777
|
+
"@eslint-react/no-context-provider": "warn",
|
|
18778
|
+
"@eslint-react/no-create-ref": "error",
|
|
18779
|
+
"@eslint-react/no-default-props": "error",
|
|
18780
|
+
"@eslint-react/no-direct-mutation-state": "error",
|
|
18781
|
+
"@eslint-react/no-duplicate-key": "error",
|
|
18782
|
+
"@eslint-react/no-forward-ref": "warn",
|
|
18783
|
+
"@eslint-react/no-implicit-key": "warn",
|
|
18784
|
+
"@eslint-react/no-missing-key": "error",
|
|
18785
|
+
"@eslint-react/no-nested-components": "error",
|
|
18786
|
+
"@eslint-react/no-prop-types": "error",
|
|
18787
|
+
"@eslint-react/no-redundant-should-component-update": "error",
|
|
18788
|
+
"@eslint-react/no-set-state-in-component-did-mount": "warn",
|
|
18789
|
+
"@eslint-react/no-set-state-in-component-did-update": "warn",
|
|
18790
|
+
"@eslint-react/no-set-state-in-component-will-update": "warn",
|
|
18791
|
+
"@eslint-react/no-string-refs": "error",
|
|
18792
|
+
"@eslint-react/no-unsafe-component-will-mount": "warn",
|
|
18793
|
+
"@eslint-react/no-unsafe-component-will-receive-props": "warn",
|
|
18794
|
+
"@eslint-react/no-unsafe-component-will-update": "warn",
|
|
18795
|
+
"@eslint-react/no-unstable-context-value": "warn",
|
|
18796
|
+
"@eslint-react/no-unstable-default-props": "warn",
|
|
18797
|
+
"@eslint-react/no-unused-class-component-members": "warn",
|
|
18798
|
+
"@eslint-react/no-unused-state": "warn",
|
|
18799
|
+
"@eslint-react/prefer-destructuring-assignment": "warn",
|
|
18800
|
+
"@eslint-react/prefer-shorthand-boolean": "warn",
|
|
18801
|
+
"@eslint-react/prefer-shorthand-fragment": "warn",
|
|
18801
18802
|
// recommended rules from eslint-plugin-react-compiler
|
|
18802
18803
|
"react-compiler/react-compiler": "error",
|
|
18803
18804
|
// overrides
|
package/dist/preset.js
CHANGED
|
@@ -4285,7 +4285,7 @@ init_esm_shims();
|
|
|
4285
4285
|
|
|
4286
4286
|
// ../eslint-plugin-banner/package.json
|
|
4287
4287
|
var package_default = {
|
|
4288
|
-
version: "0.0.
|
|
4288
|
+
version: "0.0.21"};
|
|
4289
4289
|
|
|
4290
4290
|
// ../eslint-plugin-banner/src/rules/banner.ts
|
|
4291
4291
|
init_esm_shims();
|
|
@@ -18047,7 +18047,7 @@ plugin3.configs = configs3;
|
|
|
18047
18047
|
|
|
18048
18048
|
// ../eslint-plugin-pnpm/package.json
|
|
18049
18049
|
var package_default2 = {
|
|
18050
|
-
version: "0.0.
|
|
18050
|
+
version: "0.0.20"};
|
|
18051
18051
|
|
|
18052
18052
|
// ../eslint-plugin-pnpm/src/plugin.ts
|
|
18053
18053
|
var plugin4 = {
|
|
@@ -18302,17 +18302,17 @@ async function react(options = {}) {
|
|
|
18302
18302
|
name: "storm/react/rules",
|
|
18303
18303
|
rules: {
|
|
18304
18304
|
// recommended rules from @eslint-react/dom
|
|
18305
|
-
"react-
|
|
18306
|
-
"react-
|
|
18307
|
-
"react-
|
|
18308
|
-
"react-
|
|
18309
|
-
"react-
|
|
18310
|
-
"react-
|
|
18311
|
-
"react-
|
|
18312
|
-
"react-
|
|
18313
|
-
"react-
|
|
18314
|
-
"react-
|
|
18315
|
-
"react-
|
|
18305
|
+
"@eslint-react/dom-no-void-elements-with-children": "warn",
|
|
18306
|
+
"@eslint-react/dom-no-dangerously-set-innerhtml": "warn",
|
|
18307
|
+
"@eslint-react/dom-no-dangerously-set-innerhtml-with-children": "error",
|
|
18308
|
+
"@eslint-react/dom-no-find-dom-node": "error",
|
|
18309
|
+
"@eslint-react/dom-no-missing-button-type": "warn",
|
|
18310
|
+
"@eslint-react/dom-no-missing-iframe-sandbox": "warn",
|
|
18311
|
+
"@eslint-react/dom-no-namespace": "error",
|
|
18312
|
+
"@eslint-react/dom-no-render-return-value": "error",
|
|
18313
|
+
"@eslint-react/dom-no-script-url": "warn",
|
|
18314
|
+
"@eslint-react/dom-no-unsafe-iframe-sandbox": "warn",
|
|
18315
|
+
"@eslint-react/dom-no-unsafe-target-blank": "warn",
|
|
18316
18316
|
// recommended rules react-hooks
|
|
18317
18317
|
"react-hooks/exhaustive-deps": "warn",
|
|
18318
18318
|
"react-hooks/rules-of-hooks": "error",
|
|
@@ -18341,51 +18341,52 @@ async function react(options = {}) {
|
|
|
18341
18341
|
}
|
|
18342
18342
|
],
|
|
18343
18343
|
// recommended rules from @eslint-react/web-api
|
|
18344
|
-
"react
|
|
18345
|
-
"react
|
|
18346
|
-
"react
|
|
18347
|
-
"react
|
|
18344
|
+
"@eslint-react/web-api-no-leaked-event-listener": "warn",
|
|
18345
|
+
"@eslint-react/web-api-no-leaked-interval": "warn",
|
|
18346
|
+
"@eslint-react/web-api-no-leaked-resize-observer": "warn",
|
|
18347
|
+
"@eslint-react/web-api-no-leaked-timeout": "warn",
|
|
18348
18348
|
// recommended rules from @eslint-react
|
|
18349
|
-
"react/
|
|
18350
|
-
"react/
|
|
18351
|
-
"react/jsx-
|
|
18352
|
-
"react/
|
|
18353
|
-
"react/no-
|
|
18354
|
-
"react/no-
|
|
18355
|
-
"react/no-children-
|
|
18356
|
-
"react/no-children-
|
|
18357
|
-
"react/no-children-
|
|
18358
|
-
"react/no-children-
|
|
18359
|
-
"react/no-
|
|
18360
|
-
"react/no-
|
|
18361
|
-
"react/no-
|
|
18362
|
-
"react/no-component-will-
|
|
18363
|
-
"react/no-component-will-
|
|
18364
|
-
"react/no-
|
|
18365
|
-
"react/no-
|
|
18366
|
-
"react/no-
|
|
18367
|
-
"react/no-
|
|
18368
|
-
"react/no-
|
|
18369
|
-
"react/no-
|
|
18370
|
-
"react/no-
|
|
18371
|
-
"react/no-
|
|
18372
|
-
"react/no-
|
|
18373
|
-
"react/no-
|
|
18374
|
-
"react/no-
|
|
18375
|
-
"react/no-
|
|
18376
|
-
"react/no-set-state-in-component-did-
|
|
18377
|
-
"react/no-set-state-in-component-
|
|
18378
|
-
"react/no-
|
|
18379
|
-
"react/no-
|
|
18380
|
-
"react/no-unsafe-component-will-
|
|
18381
|
-
"react/no-unsafe-component-will-
|
|
18382
|
-
"react/no-
|
|
18383
|
-
"react/no-unstable-
|
|
18384
|
-
"react/no-
|
|
18385
|
-
"react/no-unused-
|
|
18386
|
-
"react/
|
|
18387
|
-
"react/prefer-
|
|
18388
|
-
"react/prefer-shorthand-
|
|
18349
|
+
"@eslint-react/error-boundaries": "error",
|
|
18350
|
+
"@eslint-react/ensure-forward-ref-using-ref": "warn",
|
|
18351
|
+
"@eslint-react/jsx-no-duplicate-props": "warn",
|
|
18352
|
+
"@eslint-react/jsx-uses-vars": "warn",
|
|
18353
|
+
"@eslint-react/no-access-state-in-setstate": "error",
|
|
18354
|
+
"@eslint-react/no-array-index-key": "warn",
|
|
18355
|
+
"@eslint-react/no-children-count": "warn",
|
|
18356
|
+
"@eslint-react/no-children-for-each": "warn",
|
|
18357
|
+
"@eslint-react/no-children-map": "warn",
|
|
18358
|
+
"@eslint-react/no-children-only": "warn",
|
|
18359
|
+
"@eslint-react/no-children-to-array": "warn",
|
|
18360
|
+
"@eslint-react/no-clone-element": "warn",
|
|
18361
|
+
"@eslint-react/no-comment-textnodes": "warn",
|
|
18362
|
+
"@eslint-react/no-component-will-mount": "error",
|
|
18363
|
+
"@eslint-react/no-component-will-receive-props": "error",
|
|
18364
|
+
"@eslint-react/no-component-will-update": "error",
|
|
18365
|
+
"@eslint-react/no-context-provider": "warn",
|
|
18366
|
+
"@eslint-react/no-create-ref": "error",
|
|
18367
|
+
"@eslint-react/no-default-props": "error",
|
|
18368
|
+
"@eslint-react/no-direct-mutation-state": "error",
|
|
18369
|
+
"@eslint-react/no-duplicate-key": "error",
|
|
18370
|
+
"@eslint-react/no-forward-ref": "warn",
|
|
18371
|
+
"@eslint-react/no-implicit-key": "warn",
|
|
18372
|
+
"@eslint-react/no-missing-key": "error",
|
|
18373
|
+
"@eslint-react/no-nested-components": "error",
|
|
18374
|
+
"@eslint-react/no-prop-types": "error",
|
|
18375
|
+
"@eslint-react/no-redundant-should-component-update": "error",
|
|
18376
|
+
"@eslint-react/no-set-state-in-component-did-mount": "warn",
|
|
18377
|
+
"@eslint-react/no-set-state-in-component-did-update": "warn",
|
|
18378
|
+
"@eslint-react/no-set-state-in-component-will-update": "warn",
|
|
18379
|
+
"@eslint-react/no-string-refs": "error",
|
|
18380
|
+
"@eslint-react/no-unsafe-component-will-mount": "warn",
|
|
18381
|
+
"@eslint-react/no-unsafe-component-will-receive-props": "warn",
|
|
18382
|
+
"@eslint-react/no-unsafe-component-will-update": "warn",
|
|
18383
|
+
"@eslint-react/no-unstable-context-value": "warn",
|
|
18384
|
+
"@eslint-react/no-unstable-default-props": "warn",
|
|
18385
|
+
"@eslint-react/no-unused-class-component-members": "warn",
|
|
18386
|
+
"@eslint-react/no-unused-state": "warn",
|
|
18387
|
+
"@eslint-react/prefer-destructuring-assignment": "warn",
|
|
18388
|
+
"@eslint-react/prefer-shorthand-boolean": "warn",
|
|
18389
|
+
"@eslint-react/prefer-shorthand-fragment": "warn",
|
|
18389
18390
|
// recommended rules from eslint-plugin-react-compiler
|
|
18390
18391
|
"react-compiler/react-compiler": "error",
|
|
18391
18392
|
// overrides
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.170.
|
|
3
|
+
"version": "0.170.82",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"keywords": [
|
|
@@ -141,9 +141,9 @@
|
|
|
141
141
|
"@eslint/eslintrc": "^3.3.5",
|
|
142
142
|
"@eslint/markdown": "^6.6.0",
|
|
143
143
|
"@nx/eslint-plugin": "22.7.5",
|
|
144
|
-
"@storm-software/config": "1.137.89",
|
|
145
|
-
"@storm-software/config-tools": "1.190.57",
|
|
146
|
-
"@storm-software/package-constants": "0.1.70",
|
|
144
|
+
"@storm-software/config": "^1.137.89",
|
|
145
|
+
"@storm-software/config-tools": "^1.190.57",
|
|
146
|
+
"@storm-software/package-constants": "^0.1.70",
|
|
147
147
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
148
148
|
"@typescript-eslint/eslint-plugin": "^8.61.0",
|
|
149
149
|
"@typescript-eslint/parser": "^8.61.0",
|
|
@@ -196,9 +196,9 @@
|
|
|
196
196
|
"@next/eslint-plugin-next": "^15.5.19",
|
|
197
197
|
"@nx/eslint": "22.7.5",
|
|
198
198
|
"@prettier/plugin-xml": "^3.4.2",
|
|
199
|
-
"@storm-software/eslint-plugin-banner": "0.0.21",
|
|
200
|
-
"@storm-software/eslint-plugin-pnpm": "0.0.20",
|
|
201
|
-
"@storm-software/eslint-plugin-tsdoc": "0.0.20",
|
|
199
|
+
"@storm-software/eslint-plugin-banner": "^0.0.21",
|
|
200
|
+
"@storm-software/eslint-plugin-pnpm": "^0.0.20",
|
|
201
|
+
"@storm-software/eslint-plugin-tsdoc": "^0.0.20",
|
|
202
202
|
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
203
203
|
"@types/eslint": "^9.6.1",
|
|
204
204
|
"@types/eslint__js": "^8.42.3",
|
|
@@ -252,5 +252,5 @@
|
|
|
252
252
|
"zod": "^3.25.0 || ^4.0.0"
|
|
253
253
|
},
|
|
254
254
|
"publishConfig": { "access": "public" },
|
|
255
|
-
"gitHead": "
|
|
255
|
+
"gitHead": "7fb312fc7be7b8242baacfa77919c5317f4df349"
|
|
256
256
|
}
|