Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit a63906c

Browse files
authored
fix lint error
fix lint error ``` PS> npm run lint > express-typescript-starter@0.1.0 lint C:\Users\JipingWang\source\repos\api > tsc --noEmit && eslint '*/**/*.{js,ts}' --quiet --fix Oops! Something went wrong! :( ESLint: 5.16.0. No files matching the pattern "'*/**/*.{js,ts}'" were found. Please check for typing mistakes in the pattern. npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! express-typescript-starter@0.1.0 lint: `tsc --noEmit && eslint '*/**/*.{js,ts}' --quiet --fix` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the express-typescript-starter@0.1.0 lint script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\JipingWang\AppData\Roaming\npm-cache\_logs\2019-07-18T15_26_05_580Z-debug.log ```
1 parent 9817bef commit a63906c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"watch-ts": "tsc -w",
2121
"build-sass": "node-sass src/public/css/main.scss dist/public/css/main.css",
2222
"watch-sass": "node-sass -w src/public/css/main.scss dist/public/css/main.css",
23-
"lint": "tsc --noEmit && eslint '*/**/*.{js,ts}' --quiet --fix",
23+
"lint": "tsc --noEmit && eslint \"*/**/*.{js,ts}\" --quiet --fix",
2424
"copy-static-assets": "ts-node copyStaticAssets.ts",
2525
"debug": "npm run build && npm run watch-debug",
2626
"serve-debug": "nodemon --inspect dist/server.js",

0 commit comments

Comments
 (0)