Skip to content

script-indent with tabs #359

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

Closed
rightaway opened this issue Jan 24, 2018 · 1 comment
Closed

script-indent with tabs #359

rightaway opened this issue Jan 24, 2018 · 1 comment

Comments

@rightaway
Copy link

Tell us about your environment

  • ESLint Version: latest
  • eslint-plugin-vue Version: latest
  • Node Version: latest
const vm = new Vue({
	router,
	methods: {
		async myFunction() {

The above is in a JS file, and I'm getting vue/script-indent errors. The second line says Expected indentation of 2 tabs but found 1 tab, and the 4th line says Expected indentation of 4 tabs but found 2 tabs. I don't think that section of code should be handled by my eslint rules for plain JS as those rules are working as I'd like for plain JS.

@mysticatea
Copy link
Member

Thank you for the report.

I think this is a duplicate of #344. Please wait for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants