From c089ee1f89ee50c00b97669e3c76cf6411376328 Mon Sep 17 00:00:00 2001 From: Cole Bemis Date: Mon, 3 Jul 2017 14:30:44 -0700 Subject: [PATCH] chore: Set up ESLint --- .eslintignore | 1 + .eslintrc.json | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 .eslintignore create mode 100644 .eslintrc.json diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..53c37a1 --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +dist \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..f020c3c --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,12 @@ +{ + "extends": "airbnb-base", + "plugins": [ + "import" + ], + "rules": { + "no-use-before-define": "off", + "arrow-parens": ["error", "as-needed"], + "no-shadow": "off", + "no-console": ["error", { "allow": ["warn", "error"] }] + } +}