@biscuittin/eslint-config 0.0.2 → 0.0.4
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/.jiek-production-tag +0 -0
- package/dist/index.cjs +3 -1
- package/dist/index.d.cts +3 -11489
- package/dist/index.d.ts +3 -11489
- package/dist/index.js +3 -1
- package/package.json +17 -14
- package/typegen.d.ts +11617 -0
|
File without changes
|
package/dist/index.cjs
CHANGED
|
@@ -1308,15 +1308,17 @@ function react(options = {}) {
|
|
|
1308
1308
|
"@eslint-react/no-implicit-key": "error",
|
|
1309
1309
|
"@eslint-react/no-missing-component-display-name": "error",
|
|
1310
1310
|
"@eslint-react/no-unstable-context-value": "error",
|
|
1311
|
-
"@eslint-react/dom/no-void-elements-with-children": "error",
|
|
1312
1311
|
// Update as of 2021: All current versions of major browsers now automatically use the
|
|
1313
1312
|
// behavior of rel="noopener" for any target="_blank" link, nullifying this issue.
|
|
1314
1313
|
// See: https://chromestatus.com/feature/6140064063029248.
|
|
1315
1314
|
// See: https://stackoverflow.com/a/50709724
|
|
1316
1315
|
"@eslint-react/dom/no-unsafe-target-blank": "off",
|
|
1316
|
+
"@eslint-react/dom/no-void-elements-with-children": "error",
|
|
1317
|
+
"@eslint-react/web-api/no-leaked-event-listener": "error",
|
|
1317
1318
|
"@eslint-react/web-api/no-leaked-interval": "error",
|
|
1318
1319
|
"@eslint-react/web-api/no-leaked-resize-observer": "error",
|
|
1319
1320
|
"@eslint-react/web-api/no-leaked-timeout": "error",
|
|
1321
|
+
"@eslint-react/hooks-extra/no-unnecessary-use-callback": "error",
|
|
1320
1322
|
"@eslint-react/hooks-extra/no-unnecessary-use-memo": "error",
|
|
1321
1323
|
"@eslint-react/hooks-extra/no-useless-custom-hooks": "error",
|
|
1322
1324
|
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "error",
|