Skip to content

Commit a3a6c03

Browse files
R-M-Naveenclaude
andcommitted
fix: exclude vendor directory from eslint
Obfuscated .cjs vendor files cause lint errors in CI. Exclude src/vendor/ from the lint command since vendor code shouldn't be linted. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4b79a71 commit a3a6c03

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/atxp/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"build": "tsc && cp -r src/vendor/*.cjs dist/vendor/",
2020
"dev": "tsx src/index.ts",
2121
"typecheck": "tsc --noEmit",
22-
"lint": "eslint . --ext .ts",
23-
"lint:fix": "eslint . --ext .ts --fix",
22+
"lint": "eslint . --ext .ts --ignore-pattern 'src/vendor/'",
23+
"lint:fix": "eslint . --ext .ts --fix --ignore-pattern 'src/vendor/'",
2424
"test": "vitest run",
2525
"prepublishOnly": "npm run build"
2626
},

0 commit comments

Comments
 (0)