build(eslint): change eslint command to lint .ts files and use gitignore

This commit is contained in:
MrTimscampi 2020-09-04 17:24:23 +02:00
parent 477bcd8a5c
commit 4cb30a05b3

View File

@ -7,7 +7,7 @@
"build": "nuxt-ts build",
"start": "nuxt-ts start",
"generate": "nuxt-ts generate",
"lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .",
"lint:js": "eslint --ext .ts,.js,.vue .",
"lint:style": "stylelint **/*.{vue,css} --ignore-path .gitignore",
"lint": "yarn lint:js && yarn lint:style",
"test": "jest"