New issue

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

vscode-eslint doesn't work on .vue files #281

Closed
pwicks86 opened this Issue Aug 26, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@pwicks86

pwicks86 commented Aug 26, 2017

I've got an app with some .vue files in it and I've installed the official vue eslint plugin, so when I run on the command line, eslint provides useful output for these files. In vscode, the eslint plugin appears to only work for .js files, despite eslint being configured to work correctly for .vue files.

@dbaeumer

This comment has been minimized.

Member

dbaeumer commented Aug 30, 2017

You need to tell the ESLint extension to validate vue files. To do add the following to your VS Code settings.

"eslint.validate": [
	"javascript", {
		"language": "vue",
		"autoFix": true
	}
]

@dbaeumer dbaeumer closed this Aug 30, 2017

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 21, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.