@arrirpc/eslint-plugin 0.43.2 → 0.44.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
@@ -14,15 +14,15 @@ pnpm i --save-dev @arrirpc/eslint-plugin
|
|
14
14
|
|
15
15
|
### Use the default recommended configuration
|
16
16
|
|
17
|
-
```
|
17
|
+
```jsonc
|
18
18
|
{
|
19
|
-
"extends": ["plugin:@arrirpc/recommended"]
|
19
|
+
"extends": ["plugin:@arrirpc/recommended"],
|
20
20
|
}
|
21
21
|
```
|
22
22
|
|
23
23
|
### Access the rules directly
|
24
24
|
|
25
|
-
```
|
25
|
+
```jsonc
|
26
26
|
{
|
27
27
|
"plugins": ["@arrirpc"],
|
28
28
|
"rules": {
|
@@ -33,7 +33,7 @@ pnpm i --save-dev @arrirpc/eslint-plugin
|
|
33
33
|
// check to see if an ID has been assigned to a.discriminator() schemas
|
34
34
|
"@arrirpc/no-anonymous-discriminator": 2,
|
35
35
|
// check to see if an ID has been assigned to a.recursive() schemas
|
36
|
-
"@arrirpc/no-anonymous-recursive": 2
|
37
|
-
}
|
36
|
+
"@arrirpc/no-anonymous-recursive": 2,
|
37
|
+
},
|
38
38
|
}
|
39
39
|
```
|