Closed
Description
This issue was initially reported here: eslint/typescript-eslint-parser#438
What version of TypeScript are you using?
2.6.2
What version of typescript-eslint-parser
are you using?
12.0.0
What code were you trying to parse?
import { Component, Vue } from 'vue-property-decorator'
import TForm from '@components/t-form.vue'
@Component({
components: {
't-form': TForm
}
})
export default class extends Vue {
What did you expect to happen?
No linting errors
What happened?
Got the following errors
import { Component, Vue } from 'vue-property-decorator'
import TForm from '@components/t-form.vue'
@Component({
components: {
't-form': TForm <--- *** Expected indentation of 2 spaces but found 4 indent ***
}
}) <--- *** Expected indentation of 2 spaces but found 0 indent ***
export default class extends Vue {