eslint-plugin-react-debug
Advanced tools
+5
-16
@@ -1,20 +0,9 @@ | ||
| import * as _eslint_react_shared0 from "@eslint-react/shared"; | ||
| import { ESLint, Linter } from "eslint"; | ||
| //#region src/index.d.ts | ||
| declare const _default: { | ||
| configs: { | ||
| all: { | ||
| plugins: {}; | ||
| name?: string; | ||
| rules?: Record<string, _eslint_react_shared0.RuleConfig>; | ||
| settings?: _eslint_react_shared0.SettingsConfig; | ||
| }; | ||
| }; | ||
| meta: { | ||
| name: string; | ||
| version: string; | ||
| }; | ||
| rules: Record<string, _eslint_react_shared0.CompatibleRule>; | ||
| type ConfigName = "all"; | ||
| declare const finalPlugin: ESLint.Plugin & { | ||
| configs: Record<ConfigName, Linter.Config>; | ||
| }; | ||
| //#endregion | ||
| export { _default as default }; | ||
| export { finalPlugin as default }; |
+27
-26
@@ -1,2 +0,2 @@ | ||
| import { DEFAULT_ESLINT_REACT_SETTINGS, WEBSITE_URL, defineRuleListener, getConfigAdapters, getSettingsFromContext, report } from "@eslint-react/shared"; | ||
| import { DEFAULT_ESLINT_REACT_SETTINGS, WEBSITE_URL, defineRuleListener, getSettingsFromContext, report } from "@eslint-react/shared"; | ||
| import * as core from "@eslint-react/core"; | ||
@@ -25,23 +25,5 @@ import { AST_NODE_TYPES, ESLintUtils } from "@typescript-eslint/utils"; | ||
| //#endregion | ||
| //#region src/configs/all.ts | ||
| var all_exports = /* @__PURE__ */ __exportAll({ | ||
| name: () => name$1, | ||
| rules: () => rules, | ||
| settings: () => settings | ||
| }); | ||
| const name$1 = "react-debug/all"; | ||
| const rules = { | ||
| "react-debug/class-component": "warn", | ||
| "react-debug/function-component": "warn", | ||
| "react-debug/hook": "warn", | ||
| "react-debug/is-from-react": "warn", | ||
| "react-debug/is-from-ref": "warn", | ||
| "react-debug/jsx": "warn" | ||
| }; | ||
| const settings = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS }; | ||
| //#endregion | ||
| //#region package.json | ||
| var name = "eslint-plugin-react-debug"; | ||
| var version = "3.0.0-next.55"; | ||
| var name$1 = "eslint-plugin-react-debug"; | ||
| var version = "3.0.0-next.56"; | ||
@@ -285,3 +267,3 @@ //#endregion | ||
| meta: { | ||
| name, | ||
| name: name$1, | ||
| version | ||
@@ -300,10 +282,29 @@ }, | ||
| //#endregion | ||
| //#region src/configs/all.ts | ||
| var all_exports = /* @__PURE__ */ __exportAll({ | ||
| name: () => name, | ||
| plugins: () => plugins, | ||
| rules: () => rules, | ||
| settings: () => settings | ||
| }); | ||
| const name = "react-debug/all"; | ||
| const rules = { | ||
| "react-debug/class-component": "warn", | ||
| "react-debug/function-component": "warn", | ||
| "react-debug/hook": "warn", | ||
| "react-debug/is-from-react": "warn", | ||
| "react-debug/is-from-ref": "warn", | ||
| "react-debug/jsx": "warn" | ||
| }; | ||
| const plugins = { "react-debug": plugin }; | ||
| const settings = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS }; | ||
| //#endregion | ||
| //#region src/index.ts | ||
| const { toFlatConfig } = getConfigAdapters("react-debug", plugin); | ||
| var src_default = { | ||
| const finalPlugin = { | ||
| ...plugin, | ||
| configs: { ["all"]: toFlatConfig(all_exports) } | ||
| configs: { ["all"]: all_exports } | ||
| }; | ||
| //#endregion | ||
| export { src_default as default }; | ||
| export { finalPlugin as default }; |
+8
-7
| { | ||
| "name": "eslint-plugin-react-debug", | ||
| "version": "3.0.0-next.55", | ||
| "version": "3.0.0-next.56", | ||
| "description": "ESLint React's ESLint plugin for debugging related rules.", | ||
@@ -46,7 +46,7 @@ "keywords": [ | ||
| "ts-pattern": "^5.9.0", | ||
| "@eslint-react/ast": "3.0.0-next.55", | ||
| "@eslint-react/core": "3.0.0-next.55", | ||
| "@eslint-react/eff": "3.0.0-next.55", | ||
| "@eslint-react/shared": "3.0.0-next.55", | ||
| "@eslint-react/var": "3.0.0-next.55" | ||
| "@eslint-react/ast": "3.0.0-next.56", | ||
| "@eslint-react/core": "3.0.0-next.56", | ||
| "@eslint-react/shared": "3.0.0-next.56", | ||
| "@eslint-react/eff": "3.0.0-next.56", | ||
| "@eslint-react/var": "3.0.0-next.56" | ||
| }, | ||
@@ -56,3 +56,4 @@ "devDependencies": { | ||
| "@types/react-dom": "^19.2.3", | ||
| "tsdown": "^0.21.0-beta.1", | ||
| "eslint": "^10.0.2", | ||
| "tsdown": "^0.21.0-beta.2", | ||
| "@local/configs": "0.0.0" | ||
@@ -59,0 +60,0 @@ }, |
13866
-1.7%5
25%300
-3.23%+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed