Skip to content
This repository was archived by the owner on Feb 1, 2025. It is now read-only.

Commit 502c814

Browse files
davulrichsladg
authored andcommitted
Lint scripts run on all nested files in lib folder
Before this change script run only on files directly in lib folder.ts
1 parent 8a8fefa commit 502c814

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"dist"
1818
],
1919
"scripts": {
20-
"lint:check": "eslint ./lib/**/*.ts",
21-
"lint:fix": "eslint --fix ./lib/**/*.ts",
20+
"lint:check": "eslint ./lib/** --ext .ts",
21+
"lint:fix": "eslint --fix ./lib/** --ext .ts",
2222
"prebuild": "rm -rf dist",
2323
"build": "npm run build:cli && npm run build:main && npm run build:cdk && npm run build:handler",
2424
"build:cdk": "tsup lib/cdk/app.ts --out-dir dist/cdk",

0 commit comments

Comments
 (0)