Skip to content

Commit ffb5ef9

Browse files
committed
Add npm script lint
- For running ESLint from cli.
1 parent 5122732 commit ffb5ef9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"prod": "rimraf dist && cross-env NODE_ENV=production webpack --progress --color",
1010
"test": "cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest",
1111
"watch-test": "npm run test -- --watchAll",
12+
"lint": "eslint . --cache --ext js,jsx,cjs,mjs,ts,tsx",
1213
"next-rc": "npm --no-git-tag-version version prerelease --preid=rc",
1314
"next-patch": "npm --no-git-tag-version version patch",
1415
"next-minor": "npm --no-git-tag-version version minor",

0 commit comments

Comments
 (0)