Moved "eslint-env node" to the root

It seem's kind of pointless setting the comment "/* eslint-env node */" at the top of only some JavaScript files when nearly all of them are Node.js releated, so I moved this option to the root level config, only leaving the 'lib' folder as "/* eslint-env commonjs */"
master
Futago-za Ryuu 7 years ago
parent 5a833bd982
commit 08bbd6d5b6

@ -1,10 +1,11 @@
{
"extends": "dmajda",
"env": {
"commonjs": true
"node": true
},
"root": true,
"rules": {
"linebreak-style": 0
"linebreak-style": 0,
"no-console": 0
}
}

@ -1,8 +0,0 @@
{
"env": {
"node": true
},
"rules": {
"no-console": 0
}
}

@ -1,7 +1,5 @@
"use strict";
/* eslint-env node */
let babelify = require("babelify");
let browserify = require("browserify");
let buffer = require("vinyl-buffer");

@ -0,0 +1,6 @@
{
"env": {
"node": false,
"commonjs": true
}
}

@ -2,8 +2,6 @@
"use strict";
/* eslint-env node */
let Runner = require("./runner.js");
let benchmarks = require("./benchmarks.js");
let fs = require("fs");

@ -2,8 +2,6 @@
"use strict";
/* eslint-env node */
let babelify = require("babelify");
let browserify = require("browserify");
let express = require("express");

Loading…
Cancel
Save