Skip to content

Commit 91a56f7

Browse files
committed
refactor: update linting scripts to include all TypeScript files and add fix option
1 parent 393db6c commit 91a56f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"build:src": "npx tsup index.ts --format esm --legacy-output",
2323
"build:browser": "webpack",
2424
"build": "yarn build:types && yarn build:browser",
25-
"lint": "eslint . --ext .ts",
25+
"lint": "eslint **/*.ts",
26+
"lint:fix": "eslint **/*.ts --fix",
2627
"prettier": "prettier --write '**/*.{ts,js}'",
2728
"pr-check": "yarn prettier && yarn lint && yarn build && yarn test"
2829
},

0 commit comments

Comments
 (0)