Eslint npm-script looks for ts files

This commit is contained in:
Shaun Dern 2020-04-02 19:29:44 +01:00
parent bbc6a3d2ad
commit 2c010dcb21
No known key found for this signature in database
GPG Key ID: 19E354FC9294F450

View File

@ -26,7 +26,8 @@
"build": "microbundle",
"dev": "microbundle watch",
"dtslint": "dtslint --localTs node_modules/typescript/lib types",
"lint": "npm run dtslint && eslint .",
"eslint": "eslint --ext .js,.jsx,.ts,.tsx",
"lint": "yarn -s eslint . && yarn -s dtslint",
"test": "mocha --recursive --require \"@babel/register\" test"
},
"license": "MIT",