From ad3376b9dcbaa05ad60cc3029eaac14e42ef67f6 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 15 Jan 2016 13:37:03 -0800 Subject: [PATCH] Add initial eslint config --- .eslintrc.json | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 000000000000..31b3561a7491 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,37 @@ +{ + "rules": { + "indent": [ + 2, + 2, + { + "SwitchCase": 1 + } + ], + "quotes": [ + 2, + "single" + ], + "linebreak-style": [ + 2, + "unix" + ], + "semi": [ + 2, + "always" + ], + "comma-dangle": 0, + "indent": 0, + "no-console": 0, + "no-undef": 0, + "no-unreachable": 0, + "no-unused-vars": 0, + "quotes": 0, + "semi": 0 + }, + "env": { + "es6": true, + "node": true, + "browser": true + }, + "extends": "eslint:recommended" +}