Open daisuke-fukuda opened 4 years ago
In Generated package.json, lint setting not target .ts extension.
package.json
.ts
Now
"scripts": { "lint": "eslint --ext .js,.vue --ignore-path .gitignore .", }, "lint-staged": { "*.{js,vue}": "npm run lint", },
When using TypeScript, should be
"scripts": { "lint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore .", }, "lint-staged": { "*.{js,ts,vue}": "npm run lint", },
https://github.com/nuxt/create-nuxt-app/pull/449
Fixed in
In Generated
package.json
, lint setting not target.ts
extension.Now
When using TypeScript, should be