Use the "eslint-disable" directive instead of "eslint"

The "eslint-disable" directive is more specific.
redux
David Majda 8 years ago
parent 60821bb80b
commit 9648ca53d7

@ -54,10 +54,10 @@ parser:
rm -f $(PARSER_OUT_FILE)
echo '/* eslint-env node, amd */' >> $(PARSER_OUT_FILE)
echo '/* eslint no-unused-vars: 0 */' >> $(PARSER_OUT_FILE)
echo >> $(PARSER_OUT_FILE)
cat $(PARSER_OUT_FILE_NEW) >> $(PARSER_OUT_FILE)
echo '/* eslint-env node, amd */' >> $(PARSER_OUT_FILE)
echo '/* eslint-disable no-unused-vars */' >> $(PARSER_OUT_FILE)
echo >> $(PARSER_OUT_FILE)
cat $(PARSER_OUT_FILE_NEW) >> $(PARSER_OUT_FILE)
rm $(PARSER_OUT_FILE_NEW)

@ -3,7 +3,7 @@
"use strict";
/* eslint-env node */
/* eslint no-console: 0*/
/* eslint-disable no-console */
let Runner = require("./runner.js");
let benchmarks = require("./benchmarks.js");

@ -3,7 +3,7 @@
"use strict";
/* eslint-env node */
/* eslint no-console: 0 */
/* eslint-disable no-console */
// Small server whose main purpose is to ensure that both the benchmarked code
// and the benchmark get passed through Babel & Browserify before they are

@ -1,5 +1,5 @@
/* eslint-env node, amd */
/* eslint no-unused-vars: 0 */
/* eslint-disable no-unused-vars */
// Generated by PEG.js 0.10.0.
//

@ -1,6 +1,6 @@
"use strict";
/* eslint no-console: 0 */
/* eslint-disable no-console */
/* global console */
let peg = require("../../lib/peg");

@ -1,6 +1,6 @@
"use strict";
/* eslint no-console: 0 */
/* eslint-disable no-console */
/* global console */
let peg = require("../../lib/peg");

@ -3,7 +3,7 @@
"use strict";
/* eslint-env node */
/* eslint no-console: 0 */
/* eslint-disable no-console */
// Small server whose main purpose is to ensure that both the specced code and
// the specs get passed through Babel & Browserify before they are served to the

Loading…
Cancel
Save