Skip to content

Commit c456bd0

Browse files
committed
Lint root, not just subdirectories
1 parent 6f007f1 commit c456bd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"build-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs",
1414
"clean": "rimraf dist",
1515
"jest": "jest",
16-
"lint": "eslint src",
16+
"lint": "eslint .",
1717
"postinstall": "husky install",
1818
"prepack": "yarn clean && yarn build",
1919
"prettier": "prettier --check . --cache",

test-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function duplicate(x: number) {
3737

3838
export const duplicateInRandomTime = makeDelayed(duplicate);
3939

40-
export function largerThanTwo(x: Number) {
40+
export function largerThanTwo(x: number) {
4141
return x > 2;
4242
}
4343

0 commit comments

Comments
 (0)