diff --git a/src/parser/expression.js b/src/parser/expression.js index 9deb74c686..af0ce802a3 100644 --- a/src/parser/expression.js +++ b/src/parser/expression.js @@ -1,4 +1,3 @@ -/* eslint indent: 0 */ /* eslint max-len: 0 */ // A recursive descent parser operates by defining functions for all diff --git a/src/parser/lval.js b/src/parser/lval.js index 4258506020..da712e3298 100644 --- a/src/parser/lval.js +++ b/src/parser/lval.js @@ -1,5 +1,3 @@ -/* eslint indent: 0 */ - import { types as tt } from "../tokenizer/types"; import Parser from "./index"; diff --git a/src/parser/statement.js b/src/parser/statement.js index cfff7be0a7..8c8a5892fb 100644 --- a/src/parser/statement.js +++ b/src/parser/statement.js @@ -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); diff --git a/src/plugins/flow.js b/src/plugins/flow.js index db2fc7724e..c2450f351f 100644 --- a/src/plugins/flow.js +++ b/src/plugins/flow.js @@ -1,4 +1,3 @@ -/* eslint indent: 0 */ /* eslint max-len: 0 */ import { types as tt } from "../tokenizer/types"; @@ -1081,9 +1080,9 @@ export default function (instance) { const node = this.startNode(); node.id = this.parseIdentifier(); if (this.isRelational("<")) { - node.typeParameters = this.flowParseTypeParameterInstantiation(); + node.typeParameters = this.flowParseTypeParameterInstantiation(); } else { - node.typeParameters = null; + node.typeParameters = null; } implemented.push(this.finishNode(node, "ClassImplements")); } while (this.eat(tt.comma)); diff --git a/src/plugins/jsx/index.js b/src/plugins/jsx/index.js index 859a6c879b..2a05e129b0 100644 --- a/src/plugins/jsx/index.js +++ b/src/plugins/jsx/index.js @@ -1,5 +1,3 @@ -/* eslint indent: 0 */ - import fromCodePoint from "./fromCodePoint"; import XHTMLEntities from "./xhtml"; diff --git a/src/tokenizer/index.js b/src/tokenizer/index.js index 442375a464..4c35054c2b 100644 --- a/src/tokenizer/index.js +++ b/src/tokenizer/index.js @@ -1,5 +1,4 @@ /* eslint max-len: 0 */ -/* eslint indent: 0 */ import type { TokenType } from "./types"; import { isIdentifierStart, isIdentifierChar, isKeyword } from "../util/identifier";