From 9f33b160e7d28e4708f2c161d3e46ffa2a2e3a60 Mon Sep 17 00:00:00 2001 From: Andrey Okonetchnikov Date: Thu, 29 Sep 2016 18:55:01 +0200 Subject: [PATCH] Added some more rules to eslintrc. Removed unnecessary globals from it. --- .eslintrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index daf204af..bc72a70b 100644 --- a/.eslintrc +++ b/.eslintrc @@ -33,6 +33,8 @@ rules: # Stylistic Issues # https://github.com/eslint/eslint/tree/master/docs/rules#stylistic-issues + no-alert: 2 + no-console: [2, { allow: ["warn", "error"] }] comma-spacing: 2 eol-last: 2 indent: [2, 2, {SwitchCase: 1}] @@ -101,8 +103,6 @@ rules: # Global scoped method and vars globals: netlify: true - describe: true - it: true require: true process: true module: true