-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
bugSomething isn't workingSomething isn't workinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
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 {
AdamVig
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin