diff --git a/config/eslint.js b/config/eslint.js index 580893f5ef42090af2715cd41169337f6e2aca6c..58264714f6dd772ced2c62e48ecce88b35979f61 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,