@schafevormfenster/eslint-config 0.0.21 → 0.0.23

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @schafevormfenster/eslint-config@0.0.19 check /Users/jan-henrik.hempel/Projects/commons/packages/eslint-config
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
@@ -98,8 +98,8 @@ These configurations enforce domain-specific patterns and are designed to be use
98
98
  **Purpose**: Enforces architectural patterns and file organization
99
99
  **Key rules**:
100
100
  - Kebab-case file naming with semantic suffixes (client helpers can adopt `*.health.ts` naming when they live next to their clients)
101
- - Folder structure conventions (src/app, src/clients, src/services, etc.)
102
- - Layer dependency rules (clients → services → coordinators)
101
+ - Folder structure conventions (src/app, src/clients, src/services, src/coordinators, src/domain, src/lib, etc.)
102
+ - Layer dependency rules (clients/services/coordinators may all import from `src/domain` and `src/lib/**`; flow is clients → services → coordinators)
103
103
  - One function per file
104
104
  - No re-export files
105
105
 
@@ -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 architectural layer dependency rules |
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schafevormfenster/eslint-config",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
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.21"
42
+ "@schafevormfenster/eslint-plugin": "0.0.23"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=22"