From ff73f16b47de5855cf0e09d0f7877219ecdbb369 Mon Sep 17 00:00:00 2001 From: Kevin Lacker <kevin@parse.com> Date: Wed, 20 Jul 2016 10:04:49 -0700 Subject: [PATCH] a bit of lint-relaxing (#44) --- config/eslint.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/eslint.js b/config/eslint.js index 580893f5e..58264714f 100644 --- a/config/eslint.js +++ b/config/eslint.js @@ -136,7 +136,7 @@ module.exports = { 'no-native-reassign': ERROR, 'no-negated-in-lhs': ERROR, 'no-nested-ternary': WARNING, - 'no-new': ERROR, + 'no-new': WARNING, 'no-new-func': ERROR, 'no-new-object': ERROR, 'no-new-symbol': ERROR, @@ -171,7 +171,7 @@ module.exports = { 'no-unsafe-finally': WARNING, 'no-unused-expressions': ERROR, 'no-unused-labels': ERROR, - 'no-unused-vars': [ERROR, { vars: 'local', args: 'after-used' }], + 'no-unused-vars': [ERROR, { vars: 'local', args: 'none' }], 'no-use-before-define': [ERROR, 'nofunc'], 'no-useless-computed-key': ERROR, 'no-useless-concat': ERROR, -- GitLab