diff --git a/.eslintrc.json b/.eslintrc.json index 538b931..daf4ad3 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,10 +1,11 @@ { "extends": "dmajda", "env": { - "commonjs": true + "node": true }, "root": true, "rules": { - "linebreak-style": 0 + "linebreak-style": 0, + "no-console": 0 } } diff --git a/bin/.eslintrc.json b/bin/.eslintrc.json deleted file mode 100644 index 3316f47..0000000 --- a/bin/.eslintrc.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "env": { - "node": true - }, - "rules": { - "no-console": 0 - } -} diff --git a/gulpfile.js b/gulpfile.js index 03c9ee9..31dffd3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,7 +1,5 @@ "use strict"; -/* eslint-env node */ - let babelify = require("babelify"); let browserify = require("browserify"); let buffer = require("vinyl-buffer"); diff --git a/lib/.eslintrc.json b/lib/.eslintrc.json new file mode 100644 index 0000000..02e84ca --- /dev/null +++ b/lib/.eslintrc.json @@ -0,0 +1,6 @@ +{ + "env": { + "node": false, + "commonjs": true + } +} diff --git a/test/benchmark/run b/test/benchmark/run index f04e45d..c4c16a3 100644 --- a/test/benchmark/run +++ b/test/benchmark/run @@ -2,8 +2,6 @@ "use strict"; -/* eslint-env node */ - let Runner = require("./runner.js"); let benchmarks = require("./benchmarks.js"); let fs = require("fs"); diff --git a/test/server/run b/test/server/run index 1843fb1..e2bac59 100644 --- a/test/server/run +++ b/test/server/run @@ -2,8 +2,6 @@ "use strict"; -/* eslint-env node */ - let babelify = require("babelify"); let browserify = require("browserify"); let express = require("express");