From 55bcaa46efe6f4ffe0521109d57de65f7c4f68d5 Mon Sep 17 00:00:00 2001 From: Futago-za Ryuu Date: Sat, 22 Jul 2017 15:45:10 +0100 Subject: [PATCH] Updated ESLint configuration files - added "root" option to main config - moved "env.commonjs" to root --- .eslintrc.json | 4 ++++ lib/.eslintrc.json | 5 ----- test/.eslintrc.json | 1 - 3 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 lib/.eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json index 068a247..538b931 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,9 @@ { "extends": "dmajda", + "env": { + "commonjs": true + }, + "root": true, "rules": { "linebreak-style": 0 } diff --git a/lib/.eslintrc.json b/lib/.eslintrc.json deleted file mode 100644 index e84df8c..0000000 --- a/lib/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "env": { - "commonjs": true - } -} diff --git a/test/.eslintrc.json b/test/.eslintrc.json index d16dcdb..7eeefc3 100644 --- a/test/.eslintrc.json +++ b/test/.eslintrc.json @@ -1,6 +1,5 @@ { "env": { - "commonjs": true, "mocha": true } }