Use arrow functions

This commit is contained in:
Kevin Thomas
2021-08-16 23:06:27 -07:00
parent 25e1094242
commit 1af31d9573
13 changed files with 58 additions and 57 deletions

View File

@@ -12,6 +12,7 @@ module.exports = {
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'prefer-arrow-callback': 'error'
}
}