Skip to content

Commit 2505a4a

Browse files
committed
Fix eslint paths
1 parent c47536e commit 2505a4a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.lintstagedrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"lib/**/*.ts": "eslint --fix",
3-
"ava.config.cjs": "eslint --fix"
2+
"src/**/*.ts": "eslint --fix"
43
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"exports": "./lib/esm/index.js",
2323
"types": "./@type/index.d.ts",
2424
"scripts": {
25-
"eslint": "eslint lib/**/*.ts",
25+
"eslint": "eslint src/**/*.ts",
2626
"staged": "lint-staged",
2727
"coverage": "c8 npm test",
2828
"ci": "c8 npm test && c8 report --reporter=json",

0 commit comments

Comments
 (0)