@newsteam/eslint-config 0.0.244 → 0.0.245
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/cjs/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ESLint plugin surfacing problematic React code found by the React compiler.
|
|
4
|
+
*
|
|
5
|
+
* https://www.npmjs.com/package/eslint-plugin-react-compiler
|
|
6
|
+
*/
|
|
7
|
+
module.exports = {
|
|
8
|
+
plugins: ["react-compiler"],
|
|
9
|
+
rules: {
|
|
10
|
+
"react-compiler/react-compiler": "error",
|
|
11
|
+
},
|
|
12
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newsteam/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.245",
|
|
4
4
|
"description": "Shared config for eslint",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"types": "./dist/cjs/index.d.ts",
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
"eslint-plugin-prefer-object-spread": "1.2.1",
|
|
81
81
|
"eslint-plugin-promise": "6.1.1",
|
|
82
82
|
"eslint-plugin-react": "7.34.1",
|
|
83
|
+
"eslint-plugin-react-compiler": "0.0.0-experimental-53bb89e-20240515",
|
|
83
84
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
84
85
|
"eslint-plugin-react-native": "4.1.0",
|
|
85
86
|
"eslint-plugin-react-perf": "3.3.2",
|
|
@@ -114,6 +115,7 @@
|
|
|
114
115
|
"eslint-plugin-prefer-object-spread": "1.2.1",
|
|
115
116
|
"eslint-plugin-promise": "6.1.1",
|
|
116
117
|
"eslint-plugin-react": "7.34.1",
|
|
118
|
+
"eslint-plugin-react-compiler": "0.0.0-experimental-53bb89e-20240515",
|
|
117
119
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
118
120
|
"eslint-plugin-react-native": "4.1.0",
|
|
119
121
|
"eslint-plugin-react-perf": "3.3.2",
|