Eslint npm-script looks for ts files
This commit is contained in:
parent
bbc6a3d2ad
commit
2c010dcb21
@ -26,7 +26,8 @@
|
|||||||
"build": "microbundle",
|
"build": "microbundle",
|
||||||
"dev": "microbundle watch",
|
"dev": "microbundle watch",
|
||||||
"dtslint": "dtslint --localTs node_modules/typescript/lib types",
|
"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"
|
"test": "mocha --recursive --require \"@babel/register\" test"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
Loading…
Reference in New Issue
Block a user