From 3323de6a27d44797e03317b62622f376a244f96d Mon Sep 17 00:00:00 2001 From: benji7425 Date: Sat, 29 Oct 2016 18:33:20 +0100 Subject: [PATCH] Added eslint config --- .eslintrc.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..c34b295 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,32 @@ +{ + "env": { + "browser": true, + "node": true, + "commonjs": true, + "es6": true + }, + "extends": "eslint:recommended", + "parserOptions": { + "sourceType": "module" + }, + "rules": { + "indent": [ + "error", + "tab" + ], + "linebreak-style": [ + "error", + "windows" + ], + "quotes": [ + "warn", + "double" + ], + "semi": [ + "error", + "always" + ], + "no-undef": "warn", + "no-unused-vars": "warn" + } +} \ No newline at end of file