@eslint-react/eslint-plugin 1.20.1-next.2 → 1.20.2-beta.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 +22 -10
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -70,16 +70,28 @@ export default [
|
|
|
70
70
|
|
|
71
71
|
## Presets
|
|
72
72
|
|
|
73
|
-
###
|
|
73
|
+
### Bare Bones
|
|
74
|
+
|
|
75
|
+
- **Core** (`core`)\
|
|
76
|
+
Enable rules for `"react"`.
|
|
77
|
+
- **DOM** (`dom`)\
|
|
78
|
+
Enable rules for `"react-dom"`.
|
|
79
|
+
- **Web API** (`web-api`)\
|
|
80
|
+
Enable rules for interacting with Web APIs.
|
|
81
|
+
|
|
82
|
+
### General Purpose
|
|
83
|
+
|
|
84
|
+
- **Recommended** (`recommended`)\
|
|
85
|
+
Enforce rules that are recommended by ESLint React.\
|
|
86
|
+
_This preset includes the `core`, `dom`, and `web-api` presets._
|
|
87
|
+
|
|
88
|
+
### TypeScript Specialized
|
|
89
|
+
|
|
90
|
+
- **Recommended TypeScript** (`recommended-typescript`)\
|
|
91
|
+
Same as the `recommended` preset but disables rules that can be covered by TypeScript.
|
|
74
92
|
|
|
75
|
-
- **recommended
|
|
76
|
-
|
|
77
|
-
- **recommended-typescript**\
|
|
78
|
-
Enable rules that are recommended by ESLint React and disable rules that can be covered by TypeScript.\
|
|
79
|
-
_This preset includes the `recommended` preset._
|
|
80
|
-
- **recommended-type-checked**\
|
|
81
|
-
Enable rules that are recommended by ESLint React with additional rules that require type information.\
|
|
82
|
-
_This preset includes the `recommended-typescript` preset._
|
|
93
|
+
- **Recommended Type-Checked** (`recommended-type-checked`)\
|
|
94
|
+
Same as the `recommended-typescript` preset but enables additional rules that require type information.
|
|
83
95
|
|
|
84
96
|
[Full Presets List↗](https://eslint-react.xyz/docs/presets)
|
|
85
97
|
|
|
@@ -102,8 +114,8 @@ export default [
|
|
|
102
114
|
|
|
103
115
|
### Also available in
|
|
104
116
|
|
|
105
|
-
- [`AndreaPontrandolfo/sheriff`](https://github.com/AndreaPontrandolfo/sheriff) - A comprehensive and opinionated Typescript-first ESLint configuration.
|
|
106
117
|
- [`antfu/eslint-config`](https://github.com/antfu/eslint-config) - Anthony's ESLint config preset.
|
|
118
|
+
- [`eslint-config-sheriff`](https://github.com/AndreaPontrandolfo/sheriff) - A comprehensive and opinionated Typescript-first ESLint configuration.
|
|
107
119
|
- [`eslint-config-sukka`](https://github.com/SukkaW/eslint-config-sukka) - Sukka's ESLint config preset.
|
|
108
120
|
|
|
109
121
|
_Data collected from GitHub dependents network, if there are any mismatch or outdated information, feel free to [open issue](https://github.com/Rel1cx/eslint-react/issues/new?assignees=&labels=type%3A+documentation&projects=&template=docs_report.md&title=%5Bdocs%5D+) or pull request._
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.2-beta.1",
|
|
4
4
|
"description": "The main ESLint plugin of ESLint React. Contains all the rules and presets of ESLint React.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"@typescript-eslint/type-utils": "^8.18.1",
|
|
51
51
|
"@typescript-eslint/types": "^8.18.1",
|
|
52
52
|
"@typescript-eslint/utils": "^8.18.1",
|
|
53
|
-
"@eslint-react/shared": "1.20.
|
|
54
|
-
"@eslint-react/tools": "1.20.
|
|
55
|
-
"@eslint-react/types": "1.20.
|
|
56
|
-
"eslint-plugin-react-
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-
|
|
59
|
-
"eslint-plugin-react-
|
|
60
|
-
"eslint-plugin-react-
|
|
61
|
-
"eslint-plugin-react-
|
|
53
|
+
"@eslint-react/shared": "1.20.2-beta.1",
|
|
54
|
+
"@eslint-react/tools": "1.20.2-beta.1",
|
|
55
|
+
"@eslint-react/types": "1.20.2-beta.1",
|
|
56
|
+
"eslint-plugin-react-debug": "1.20.2-beta.1",
|
|
57
|
+
"eslint-plugin-react-dom": "1.20.2-beta.1",
|
|
58
|
+
"eslint-plugin-react-naming-convention": "1.20.2-beta.1",
|
|
59
|
+
"eslint-plugin-react-hooks-extra": "1.20.2-beta.1",
|
|
60
|
+
"eslint-plugin-react-web-api": "1.20.2-beta.1",
|
|
61
|
+
"eslint-plugin-react-x": "1.20.2-beta.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"tsup": "^8.3.5",
|