Make eslint command invocation Windows compatible

This commit is contained in:
Simon Edwards 2022-12-26 13:21:52 +01:00
parent 33c0b24731
commit 88e5149a9f

View File

@ -22,7 +22,7 @@
"build:addon": "cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile",
"test": "node ./scripts/qode.js ./node_modules/jest/bin/jest -i",
"lint:cpp": "clang-format -i --glob=src/cpp/**/*.[h,c]*",
"lint:ts": "tsc --noEmit && eslint './src/**/*.{ts,tsx,js,jsx}' --fix",
"lint:ts": "tsc --noEmit && eslint ./src --fix",
"docs": "typedoc && node ./website/docs/scripts/fixdocs.js",
"qode": "node ./scripts/qode.js",
"prepublishOnly": "npm run build"