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
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

[indent] import require are not reported as error #577

Closed
Labels
@ficristo

Description

@ficristo

What version of TypeScript are you using?
3.1.6

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

What code were you trying to parse?

// The code:importDialogs= require("widgets/Dialogs");

What did you expect to happen?
An error because the code is indented but shouldn't.

For now my rule indent is:

"indent":["error",4,{"SwitchCase":1,"VariableDeclarator":1,"FunctionDeclaration":{"parameters":"first",body:1},"FunctionExpression":{"parameters":"first",body:1},"CallExpression":{"arguments":1},"ArrayExpression":1,"ObjectExpression":1,"ImportDeclaration":1,"flatTernaryExpressions":false}],

What happened?
No error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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