Remove obsolete max-len eslint rule and reformat some stuff to fit (#7602)

This commit is contained in:
Daniel Tschinder
2018-03-20 14:51:47 +01:00
committed by Brian Ng
parent 6d6fe844fd
commit f0d681a238
14 changed files with 62 additions and 55 deletions

View File

@@ -21,7 +21,6 @@ function collect(value, previousValue): Array<string> {
return previousValue ? previousValue.concat(values) : values;
}
/* eslint-disable max-len */
program.option("-e, --eval [script]", "Evaluate script");
program.option("-p, --print [code]", "Evaluate script and print result");
program.option(
@@ -41,7 +40,6 @@ program.option(
);
program.option("-w, --plugins [string]", "", collect);
program.option("-b, --presets [string]", "", collect);
/* eslint-enable max-len */
program.version(pkg.version);
program.usage("[options] [ -e script | script.js ] [arguments]");