Re-enable the max-len ESLint rule. (#5265)

This commit is contained in:
Logan Smyth
2017-02-04 08:07:15 -08:00
committed by Henry Zhu
parent 4d411ef83e
commit b845f2b69d
63 changed files with 317 additions and 223 deletions

View File

@@ -1,4 +1,4 @@
/* eslint max-len: 0 */
/* eslint max-len: "off" */
export const STATEMENT_OR_BLOCK_KEYS = ["consequent", "body", "alternate"];
export const FLATTENABLE_KEYS = ["body", "expressions"];

View File

@@ -1,4 +1,4 @@
/* eslint max-len: 0 */
/* eslint max-len: "off" */
import * as t from "../index";

View File

@@ -1,4 +1,4 @@
/* eslint max-len: 0 */
/* eslint max-len: "off" */
import defineType, {
assertNodeType,

View File

@@ -1,5 +1,3 @@
/* eslint indent: 0 */
import { getBindingIdentifiers } from "./retrievers";
import esutils from "esutils";
import * as t from "./index";
@@ -276,7 +274,7 @@ export function isNodesEquivalent(a, b) {
}
if (!isNodesEquivalent(a[field], b[field])) {
return false;
return false;
}
}