@luxass/eslint-config 7.2.1 → 7.4.0
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 +1 -2
- package/dist/index.d.mts +269 -365
- package/dist/index.mjs +52 -139
- package/dist/{lib-DRpFEws2.mjs → lib-D3Kr7UIJ.mjs} +285 -576
- package/package.json +39 -29
package/README.md
CHANGED
|
@@ -271,7 +271,6 @@ Since flat config requires us to explicitly provide the plugin names (instead of
|
|
|
271
271
|
| `test/*` | `vitest/*` | [@vitest/eslint-plugin](https://github.com/vitest-dev/eslint-plugin-vitest) |
|
|
272
272
|
| `react/*` | `@eslint-react/*` | [@eslint-react/eslint-plugin ](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin) |
|
|
273
273
|
| `react-dom/*` | `@eslint-react/dom/*` | [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) |
|
|
274
|
-
| `react-hooks-extra/*` | `@eslint-react/hooks-extra/*` | [eslint-plugin-react-hooks-extra](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-hooks-extra) |
|
|
275
274
|
| `react-naming-convention/*` | `@eslint-react/naming-convention/*` | [eslint-plugin-react-naming-convention](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-naming-convention) |
|
|
276
275
|
|
|
277
276
|
When you want to override rules, or disable them inline, you need to update to the new prefix:
|
|
@@ -432,7 +431,7 @@ export default luxass({
|
|
|
432
431
|
Running `npx eslint` should prompt you to install the required dependencies, otherwise, you can install them manually:
|
|
433
432
|
|
|
434
433
|
```bash
|
|
435
|
-
npm i -D @eslint-react/eslint-plugin eslint-plugin-react-
|
|
434
|
+
npm i -D @eslint-react/eslint-plugin eslint-plugin-react-refresh
|
|
436
435
|
```
|
|
437
436
|
|
|
438
437
|
#### Astro
|