This repository was archived by the owner on Jan 19, 2019. It is now read-only.
Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork74
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
Description
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.