eslint-plugin-react-debug 5.18.7 → 5.18.8
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/index.js +13 -2
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region package.json
|
|
32
32
|
var name$1 = "eslint-plugin-react-debug";
|
|
33
|
-
var version = "5.18.
|
|
33
|
+
var version = "5.18.8";
|
|
34
34
|
|
|
35
35
|
//#endregion
|
|
36
36
|
//#region src/utils/create-rule.ts
|
|
@@ -302,9 +302,20 @@ const settings = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
|
|
|
302
302
|
|
|
303
303
|
//#endregion
|
|
304
304
|
//#region src/index.ts
|
|
305
|
+
function createConfig(base) {
|
|
306
|
+
return {
|
|
307
|
+
...base,
|
|
308
|
+
plugins: {
|
|
309
|
+
...base.plugins,
|
|
310
|
+
get ["react-debug"]() {
|
|
311
|
+
return finalPlugin;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
};
|
|
315
|
+
}
|
|
305
316
|
const finalPlugin = {
|
|
306
317
|
...plugin,
|
|
307
|
-
configs: { ["all"]: all_exports }
|
|
318
|
+
configs: { ["all"]: createConfig(all_exports) }
|
|
308
319
|
};
|
|
309
320
|
|
|
310
321
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-debug",
|
|
3
|
-
"version": "5.18.
|
|
3
|
+
"version": "5.18.8",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for debugging related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@eslint-react/ast": "5.18.
|
|
41
|
-
"@eslint-react/core": "5.18.
|
|
42
|
-
"@eslint-react/eslint": "5.18.
|
|
43
|
-
"@eslint-react/jsx": "5.18.
|
|
44
|
-
"@eslint-react/shared": "5.18.
|
|
45
|
-
"@eslint-react/var": "5.18.
|
|
40
|
+
"@eslint-react/ast": "5.18.8",
|
|
41
|
+
"@eslint-react/core": "5.18.8",
|
|
42
|
+
"@eslint-react/eslint": "5.18.8",
|
|
43
|
+
"@eslint-react/jsx": "5.18.8",
|
|
44
|
+
"@eslint-react/shared": "5.18.8",
|
|
45
|
+
"@eslint-react/var": "5.18.8",
|
|
46
46
|
"@typescript-eslint/scope-manager": "^8.69.0",
|
|
47
47
|
"@typescript-eslint/types": "^8.69.0",
|
|
48
48
|
"@typescript-eslint/utils": "^8.69.0",
|