From 3c6523ff836b4e8edc38f2b508eb5f3f5b61ee44 Mon Sep 17 00:00:00 2001 From: Futago-za Ryuu Date: Tue, 24 Oct 2017 19:46:10 +0100 Subject: [PATCH] Switched eslint configuration Was using 'eslint-config-dmajda' by @dmajda, but since it's diffucult for me to use multiple styles across multiple projects, I'm switching to my own 'eslint-config-futagozaryuu'. --- .eslintrc.js | 8 ++++++++ .eslintrc.json | 11 ----------- lib/.eslintrc.js | 11 +++++++++++ lib/.eslintrc.json | 6 ------ package.json | 2 +- test/.eslintrc.js | 12 ++++++++++++ test/spec/.eslintrc.json | 5 ----- 7 files changed, 32 insertions(+), 23 deletions(-) create mode 100644 .eslintrc.js delete mode 100644 .eslintrc.json create mode 100644 lib/.eslintrc.js delete mode 100644 lib/.eslintrc.json create mode 100644 test/.eslintrc.js delete mode 100644 test/spec/.eslintrc.json diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..9cab2f8 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,8 @@ +"use strict"; + +module.exports = { + + "extends": "futagozaryuu/node-v4", + "root": true + +}; diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index daf4ad3..0000000 --- a/.eslintrc.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "dmajda", - "env": { - "node": true - }, - "root": true, - "rules": { - "linebreak-style": 0, - "no-console": 0 - } -} diff --git a/lib/.eslintrc.js b/lib/.eslintrc.js new file mode 100644 index 0000000..5663514 --- /dev/null +++ b/lib/.eslintrc.js @@ -0,0 +1,11 @@ +"use strict"; + +module.exports = { + + "extends": "futagozaryuu/es2015", + "env": { + "commonjs": true + }, + "root": true + +}; diff --git a/lib/.eslintrc.json b/lib/.eslintrc.json deleted file mode 100644 index 02e84ca..0000000 --- a/lib/.eslintrc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "env": { - "node": false, - "commonjs": true - } -} diff --git a/package.json b/package.json index dd03823..ce9d644 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "browserify": "14.5.0", "chai": "4.1.2", "del": "3.0.0", - "eslint-config-dmajda": "1.0.0", + "eslint-config-futagozaryuu": "3.6.x", "express": "4.16.2", "glob": "7.1.2", "gulp": "3.9.1", diff --git a/test/.eslintrc.js b/test/.eslintrc.js new file mode 100644 index 0000000..d2cf41d --- /dev/null +++ b/test/.eslintrc.js @@ -0,0 +1,12 @@ +"use strict"; + +module.exports = { + + "extends": "futagozaryuu/test", + "rules": { + + "node/shebang": 0 + + } + +}; diff --git a/test/spec/.eslintrc.json b/test/spec/.eslintrc.json deleted file mode 100644 index 7eeefc3..0000000 --- a/test/spec/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "env": { - "mocha": true - } -}