E471 GitHub · Where software is built
[go: up one dir, main page]

Skip to content

script-indent with tabs #359

@rightaway

Description

@rightaway

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0