@eslint-react/eslint-plugin 5.30.0-beta.9 → 5.30.0-rc.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.
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
- <p align="center"><img src="https://eslint-react.xyz/logo.svg" alt="logo" width="150" /></p>
1
+ <p align="center"><img src="https://cdn.jsdelivr.net/gh/Rel1cx/eslint-react@main/apps/website/public/logo.svg" alt="logo" width="150" /></p>
2
2
 
3
3
  <h1 align="center" alt="title">ESLint React</h1>
4
4
 
5
5
  [![Version](https://img.shields.io/npm/v/eslint-plugin-react-x?style=flat&colorA=111111&colorB=000000)](https://npmx.dev/package/eslint-plugin-react-x)
6
6
  [![Downloads](https://img.shields.io/npm/dt/eslint-plugin-react-x.svg?style=flat&colorA=222222&colorB=000000)](https://npmx.dev/package/eslint-plugin-react-x)
7
7
  [![License](https://img.shields.io/npm/l/eslint-plugin-react-x?style=flat&colorA=333333&colorB=000000)](https://github.com/Rel1cx/eslint-react/blob/main/LICENSE)
8
- [![Build with](https://img.shields.io/badge/built_with-tsdown@0.23.2-000000?style=flat)](https://tsdown.dev)
8
+ [![Build with](https://img.shields.io/badge/built_with-tsdown@0.23.5-000000?style=flat)](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`\
@@ -212,7 +216,7 @@ A huge thank you to our amazing sponsors who make this project possible.
212
216
 
213
217
  <p align="center">
214
218
  <a href="https://ko-fi.com/Rel1cx">
215
- <img src="https://eslint-react.xyz/sponsors.svg" alt="sponsors" />
219
+ <img src="https://cdn.jsdelivr.net/gh/Rel1cx/eslint-react@main/apps/website/public/sponsors.svg" alt="sponsors" />
216
220
  </a>
217
221
  </p>
218
222
 
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.