@open-turo/eslint-config-react 18.0.0-pr-410.143.1.1 → 18.0.0-pr-410.146.1.1
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.
|
Binary file
|
package/package.json
CHANGED
package/recommended.cjs
CHANGED
|
@@ -37,6 +37,12 @@ module.exports = {
|
|
|
37
37
|
],
|
|
38
38
|
},
|
|
39
39
|
],
|
|
40
|
+
/**
|
|
41
|
+
* Set as "warn" by default, we want to error on incompatible library APIs for dev visibility (to require // eslint-disable)
|
|
42
|
+
*
|
|
43
|
+
* {@link https://react.dev/reference/eslint-plugin-react-hooks/lints/incompatible-library docs}
|
|
44
|
+
*/
|
|
45
|
+
"react-hooks/incompatible-library": "error",
|
|
40
46
|
// don't force .jsx extension
|
|
41
47
|
"react/jsx-filename-extension": "off",
|
|
42
48
|
// In TS you must use the Fragment syntax instead of the shorthand
|
|
Binary file
|