Correct indent eslint rule config (#276)
* Change indent rule to correctly lint * Remove rule again
This commit is contained in:
parent
62d1970f77
commit
b918554d73
@ -1,4 +1,3 @@
|
||||
/* eslint indent: 0 */
|
||||
/* eslint max-len: 0 */
|
||||
|
||||
// A recursive descent parser operates by defining functions for all
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
/* eslint indent: 0 */
|
||||
|
||||
import { types as tt } from "../tokenizer/types";
|
||||
import Parser from "./index";
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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));
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
/* eslint indent: 0 */
|
||||
|
||||
import fromCodePoint from "./fromCodePoint";
|
||||
|
||||
import XHTMLEntities from "./xhtml";
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
/* eslint max-len: 0 */
|
||||
/* eslint indent: 0 */
|
||||
|
||||
import type { TokenType } from "./types";
|
||||
import { isIdentifierStart, isIdentifierChar, isKeyword } from "../util/identifier";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user