diff --git a/.eslintrc.json b/.eslintrc.js similarity index 91% rename from .eslintrc.json rename to .eslintrc.js index f6f62b141..025a2d9be 100644 --- a/.eslintrc.json +++ b/.eslintrc.js @@ -1,9 +1,10 @@ -{ +module.exports = { "extends": "airbnb-base", "env": { "node": true }, "rules": { + // @todo: Add todo for every rull what we want to validte. "func-names": 0, "no-use-before-define": 0, "no-unused-vars": 0, @@ -38,4 +39,4 @@ "no-await-in-loop": 0, "arrow-body-style": 0 } -} +}; diff --git a/.hound.yml b/.hound.yml index 6728a4cba..5133f32e0 100644 --- a/.hound.yml +++ b/.hound.yml @@ -1,3 +1,3 @@ eslint: enabled: true - config_file: .eslintrc.json \ No newline at end of file + config_file: .eslintrc.js diff --git a/test/.eslintrc.json b/test/.eslintrc.js similarity index 60% rename from test/.eslintrc.json rename to test/.eslintrc.js index 7eeefc33b..f908d386f 100644 --- a/test/.eslintrc.json +++ b/test/.eslintrc.js @@ -1,5 +1,5 @@ -{ +module.exports = { "env": { "mocha": true } -} +};