@eslint-react/eslint-plugin 5.30.0-beta.2 → 5.30.0-beta.20
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/README.md +5 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1087 -62
- package/package.json +17 -10
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://npmx.dev/package/eslint-plugin-react-x)
|
|
6
6
|
[](https://npmx.dev/package/eslint-plugin-react-x)
|
|
7
7
|
[](https://github.com/Rel1cx/eslint-react/blob/main/LICENSE)
|
|
8
|
-
[](https://tsdown.dev)
|
|
9
9
|
|
|
10
10
|
Composable ESLint rules for React and friends.
|
|
11
11
|
|
|
@@ -160,6 +160,10 @@ export default defineConfig(
|
|
|
160
160
|
|
|
161
161
|
### Other
|
|
162
162
|
|
|
163
|
+
- `all`\
|
|
164
|
+
Enable all rules that do not require type information.
|
|
165
|
+
- `all-type-checked`\
|
|
166
|
+
Same as the `all` preset but enables additional rules that require type information.
|
|
163
167
|
- `disable-jsx`\
|
|
164
168
|
Disable rules in the `jsx` preset.
|
|
165
169
|
- `disable-rsc`\
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ESLint, Linter } from "eslint";
|
|
2
|
-
type ConfigName = "all" | "disable-conflict-eslint-plugin-react" | "disable-conflict-eslint-plugin-react-hooks" | "disable-dom" | "disable-experimental" | "disable-jsx" | "disable-naming-convention" | "disable-rsc" | "disable-type-checked" | "disable-web-api" | "dom" | "jsx" | "naming-convention" | "off" | "recommended" | "recommended-type-checked" | "recommended-typescript" | "rsc" | "strict" | "strict-type-checked" | "strict-typescript" | "web-api" | "x";
|
|
2
|
+
type ConfigName = "all" | "all-type-checked" | "disable-conflict-eslint-plugin-react" | "disable-conflict-eslint-plugin-react-hooks" | "disable-dom" | "disable-experimental" | "disable-jsx" | "disable-naming-convention" | "disable-rsc" | "disable-type-checked" | "disable-web-api" | "dom" | "jsx" | "naming-convention" | "off" | "recommended" | "recommended-type-checked" | "recommended-typescript" | "rsc" | "strict" | "strict-type-checked" | "strict-typescript" | "web-api" | "x";
|
|
3
3
|
declare const finalPlugin: ESLint.Plugin & {
|
|
4
4
|
/**
|
|
5
5
|
* For more information about each preset, please refer to the documentation.
|