@wistia/oxlint-config 0.4.3 → 0.4.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/package.json +1 -1
- package/rules/react.mjs +10 -5
package/package.json
CHANGED
package/rules/react.mjs
CHANGED
|
@@ -354,19 +354,23 @@ export const reactRules = {
|
|
|
354
354
|
|
|
355
355
|
// Prevent implicitly passing the children prop
|
|
356
356
|
// https://eslint-react.xyz/docs/rules/no-implicit-children
|
|
357
|
-
|
|
357
|
+
// disabled: requires TypeScript type-checker services unavailable in oxlint's JS plugin runtime
|
|
358
|
+
'@eslint-react/no-implicit-children': 'off',
|
|
358
359
|
|
|
359
360
|
// Prevent implicitly passing the key prop
|
|
360
361
|
// https://eslint-react.xyz/docs/rules/no-implicit-key
|
|
361
|
-
|
|
362
|
+
// disabled: requires TypeScript type-checker services unavailable in oxlint's JS plugin runtime
|
|
363
|
+
'@eslint-react/no-implicit-key': 'off',
|
|
362
364
|
|
|
363
365
|
// Prevent implicitly passing the ref prop
|
|
364
366
|
// https://eslint-react.xyz/docs/rules/no-implicit-ref
|
|
365
|
-
|
|
367
|
+
// disabled: requires TypeScript type-checker services unavailable in oxlint's JS plugin runtime
|
|
368
|
+
'@eslint-react/no-implicit-ref': 'off',
|
|
366
369
|
|
|
367
370
|
// Prevent problematic leaked values from being rendered
|
|
368
371
|
// https://eslint-react.xyz/docs/rules/no-leaked-conditional-rendering
|
|
369
|
-
|
|
372
|
+
// disabled: requires TypeScript type-checker services unavailable in oxlint's JS plugin runtime
|
|
373
|
+
'@eslint-react/no-leaked-conditional-rendering': 'off',
|
|
370
374
|
|
|
371
375
|
// Enforce that components have a displayName for DevTools
|
|
372
376
|
// https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
@@ -446,7 +450,8 @@ export const reactRules = {
|
|
|
446
450
|
|
|
447
451
|
// Warn about component props that are defined but never used
|
|
448
452
|
// https://eslint-react.xyz/docs/rules/no-unused-props
|
|
449
|
-
|
|
453
|
+
// disabled: requires TypeScript type-checker services unavailable in oxlint's JS plugin runtime
|
|
454
|
+
'@eslint-react/no-unused-props': 'off',
|
|
450
455
|
|
|
451
456
|
// Prevent unused state values
|
|
452
457
|
// https://eslint-react.xyz/docs/rules/no-unused-state
|