@schafevormfenster/eslint-config 0.0.23 → 0.0.24
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/docs/RULES_REFERENCE.md +1 -1
- package/package.json +2 -2
package/docs/RULES_REFERENCE.md
CHANGED
|
@@ -287,7 +287,7 @@ Below is a comprehensive mapping of custom rules (from `@schafevormfenster/eslin
|
|
|
287
287
|
| `enforce-api-route-structure` | error | Require route.test.ts, *.contract.ts, *.schema.ts for API routes |
|
|
288
288
|
| `enforce-schema-type-export` | error | Export TypeScript types for all Zod schemas |
|
|
289
289
|
| `prefer-schema-extension` | warn | Reuse schemas with .extend() or .merge() |
|
|
290
|
-
| `enforce-token-in-path` | error | API routes must
|
|
290
|
+
| `enforce-token-in-path` | error | API routes must implement token auth (path token or Authorization header) |
|
|
291
291
|
|
|
292
292
|
**Documentation**: See `node_modules/@schafevormfenster/eslint-plugin/docs/rules/enforce-api-route-structure.md` (and similar files)
|
|
293
293
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schafevormfenster/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"eslint-plugin-zod": "^1.4.0",
|
|
40
40
|
"globals": "^16.5.0",
|
|
41
41
|
"typescript-eslint": "^8.56.0",
|
|
42
|
-
"@schafevormfenster/eslint-plugin": "0.0.
|
|
42
|
+
"@schafevormfenster/eslint-plugin": "0.0.24"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=22"
|