Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Indentation in decorators not working properly #9

Closed
Labels
bugSomething isn't workinglocked due to agePlease 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-plugin
@JamesHenry

Description

@JamesHenry

This issue was initially reported here:eslint/typescript-eslint-parser#438


What version of TypeScript are you using?
2.6.2

What version oftypescript-eslint-parser are you using?
12.0.0

What code were you trying to parse?

import{Component,Vue}from'vue-property-decorator'importTFormfrom'@components/t-form.vue'@Component({components:{'t-form':TForm}})exportdefaultclassextendsVue{

What did you expect to happen?
No linting errors

What happened?
Got the following errors

import{Component,Vue}from'vue-property-decorator'importTFormfrom'@components/t-form.vue'@Component({components:{'t-form':TForm<---***Expectedindentationof2spacesbutfound4indent***}})<---***Expectedindentationof2spacesbutfound0indent***exportdefaultclassextendsVue{

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglocked due to agePlease 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-plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp