Skip to content

Commit 23277c7

Browse files
konardclaude
andcommitted
fix(lint): exclude hooks tests from Effect-TS strict import rules
The hooks test file tests shell scripts (bash/node) that inherently require direct node:child_process, node:fs, node:path imports. These are incompatible with the Effect-TS compliance rule that requires @effect/platform wrappers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 25cd14e commit 23277c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/app/eslint.effect-ts-check.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ const restrictedSyntaxBaseNoServiceFactory = [
134134
]
135135

136136
export default tseslint.config(
137+
{
138+
name: "effect-ts-compliance-ignore-shell-tests",
139+
ignores: ["tests/hooks/**"]
140+
},
137141
{
138142
name: "effect-ts-compliance-check",
139143
files: ["src/**/*.ts", "scripts/**/*.ts", "tests/**/*.ts"],

0 commit comments

Comments
 (0)