@schafevormfenster/eslint-config 0.0.22 → 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/.turbo/turbo-check.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @schafevormfenster/eslint-config@0.0.
|
|
3
|
+
> @schafevormfenster/eslint-config@0.0.22 check /Users/jan-henrik.hempel/Projects/commons/packages/eslint-config
|
|
4
4
|
> echo 'eslint-config: no build required'
|
|
5
5
|
|
|
6
6
|
eslint-config: no build required
|
package/docs/RULES_REFERENCE.md
CHANGED
|
@@ -276,7 +276,7 @@ Below is a comprehensive mapping of custom rules (from `@schafevormfenster/eslin
|
|
|
276
276
|
| `one-function-per-file` | warn | Warn if file defines multiple top-level functions (exported or internal) |
|
|
277
277
|
| `one-function-per-file-strict` | error | Error if file defines more than 4 top-level functions (high-priority message when file has more than 250 lines) |
|
|
278
278
|
| `no-reexport-files` | warn | Prevent files that only re-export from other modules |
|
|
279
|
-
| `enforce-layer-dependencies` | error | Enforce
|
|
279
|
+
| `enforce-layer-dependencies` | error | Enforce clients/services/coordinators layer dependency rules (configurable with `sharedPaths` for utility directories) |
|
|
280
280
|
|
|
281
281
|
**Documentation**: See `node_modules/@schafevormfenster/eslint-plugin/docs/rules/enforce-file-naming.md` (and similar files)
|
|
282
282
|
|
|
@@ -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"
|