fix false positive

This commit is contained in:
Timo Hocker 2020-02-03 10:07:17 +01:00
parent e8a8d58923
commit 7762b71b6a

View File

@ -123,7 +123,7 @@ module.exports = {
'no-shadow': ['error', { builtinGlobals: true, hoist: 'all' }],
'no-undef-init': 'error',
'no-undefined': 'error',
'no-use-before-define': 'error',
'no-use-before-define': ['error', { functions: false }],
// Node.js and CommonJS https://eslint.org/docs/rules/#node-js-and-commonjs
'callback-return': 'error',