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,5 +1,3 @@
/* eslint no-confusing-arrow: 0 */
import helpers from "./helpers";
export function get(name) {
@@ -10,7 +8,7 @@ export function get(name) {
}
export const list = Object.keys(helpers)
.map((name) => name[0] === "_" ? name.slice(1) : name)
.map((name) => name.replace(/^_/, ""))
.filter((name) => name !== "__esModule");
export default get;