Correct indent eslint rule config (#276)

* Change indent rule to correctly lint

* Remove rule again
This commit is contained in:
Daniel Tschinder
2017-01-14 15:11:50 +01:00
committed by GitHub
parent 62d1970f77
commit b918554d73
6 changed files with 4 additions and 12 deletions

View File

@@ -1,4 +1,3 @@
/* eslint indent: 0 */
/* eslint max-len: 0 */
import { types as tt } from "../tokenizer/types";
@@ -231,8 +230,8 @@ pp.parseForStatement = function (node) {
let forAwait = false;
if (this.hasPlugin("asyncGenerators") && this.state.inAsync && this.isContextual("await")) {
forAwait = true;
this.next();
forAwait = true;
this.next();
}
this.expect(tt.parenL);