@eslint-react/kit 5.0.2-next.0 → 5.0.2-next.4
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 +0 -8
- package/dist/index.js +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -135,14 +135,6 @@ eslintReactKit().use(() => (context) => ({
|
|
|
135
135
|
|
|
136
136
|
> **Note:** The rule names are ULIDs generated randomly on each ESLint run. The examples above illustrate the format — actual values will differ every time.
|
|
137
137
|
|
|
138
|
-
##### Characteristics of Anonymous Rules
|
|
139
|
-
|
|
140
|
-
| Feature | Description |
|
|
141
|
-
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
142
|
-
| **Random name** | A unique ULID is generated for each rule on every lint run |
|
|
143
|
-
| **Non-disablable** | Cannot be disabled via `{ rules: { <rule-name>: "off" } }` or `// eslint-disable-next-line <rule-name>` because the name changes each time |
|
|
144
|
-
| **Use case** | Critical checks that must never be bypassed |
|
|
145
|
-
|
|
146
138
|
Anonymous rules are ideal for checks that are **critical to code quality or security** and should never be bypassed via disable comments:
|
|
147
139
|
|
|
148
140
|
```ts
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/kit",
|
|
3
|
-
"version": "5.0.2-next.
|
|
3
|
+
"version": "5.0.2-next.4",
|
|
4
4
|
"description": "ESLint React's utility module for building custom React rules with JavasSript functions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"@typescript-eslint/utils": "^8.58.0",
|
|
40
40
|
"string-ts": "^2.3.1",
|
|
41
41
|
"ulid": "^3.0.2",
|
|
42
|
-
"@eslint-react/ast": "5.0.2-next.
|
|
43
|
-
"@eslint-react/
|
|
44
|
-
"@eslint-react/
|
|
42
|
+
"@eslint-react/ast": "5.0.2-next.4",
|
|
43
|
+
"@eslint-react/shared": "5.0.2-next.4",
|
|
44
|
+
"@eslint-react/core": "5.0.2-next.4"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"eslint": "^10.2.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@local/eff": "3.0.0-beta.72"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"eslint": "^10.
|
|
53
|
+
"eslint": "^10.2.0",
|
|
54
54
|
"typescript": "*"
|
|
55
55
|
},
|
|
56
56
|
"engines": {
|