We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With a vanilla eslint config (below),
module.exports = { root: true, parserOptions: { parser: 'babel-eslint', sourceType: 'module', }, env: { browser: true, node: true, }, extends: [ '@nuxtjs/eslint-config-typescript', 'prettier', 'prettier/vue', 'plugin:prettier/recommended', 'plugin:nuxt/recommended', ], plugins: ['prettier'], // add your custom rules here rules: {}, }
As long as '@nuxtjs/eslint-config-typescript' is included, VS Code shows a bunch of Vue errors:
'@nuxtjs/eslint-config-typescript'
My package.json is:
package.json
{ "name": "cal", "version": "1.0.0", "private": true, "scripts": { "dev": "nuxt-ts", "build": "nuxt-ts build", "start": "nuxt-ts start", "generate": "nuxt-ts generate", "lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .", "lint": "npm run lint:js" }, "dependencies": { "@nuxt/typescript-runtime": "^2.0.0", "@nuxtjs/axios": "^5.12.4", "core-js": "^3.8.1", "nuxt": "^2.14.12" }, "devDependencies": { "@nuxt/types": "^2.14.12", "@nuxt/typescript-build": "^2.0.3", "@nuxtjs/eslint-config": "^5.0.0", "@nuxtjs/eslint-config-typescript": "^5.0.0", "@nuxtjs/eslint-module": "^3.0.2", "@nuxtjs/tailwindcss": "^3.4.2", "babel-eslint": "^10.1.0", "eslint": "^7.16.0", "eslint-config-prettier": "^7.1.0", "eslint-plugin-nuxt": "^2.0.0", "eslint-plugin-prettier": "^3.3.0", "prettier": "^2.2.1" } }
If I add eslint-plugin-vue manually, these errors go away -- might be worth adding explicitly?
eslint-plugin-vue
x-linked: nuxt/eslint#134
The text was updated successfully, but these errors were encountered:
Fixed in v3.5.0
Sorry, something went wrong.
clarkdo
No branches or pull requests
With a vanilla eslint config (below),
As long as
'@nuxtjs/eslint-config-typescript'
is included, VS Code shows a bunch of Vue errors:My
package.json
is:If I add
eslint-plugin-vue
manually, these errors go away -- might be worth adding explicitly?x-linked: nuxt/eslint#134
The text was updated successfully, but these errors were encountered: