lint: Update linting rule on space-before-paren

This commit is contained in:
Atinux 2017-10-30 17:51:11 +01:00
parent 69fa6fc637
commit 83815de91b
11 changed files with 41 additions and 34 deletions

View File

@ -22,7 +22,14 @@ module.exports = {
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
// do not allow console.logs etc...
'no-console': 2
'no-console': 2,
'space-before-function-paren': [
2,
{
anonymous: 'always',
named: 'never'
}
],
},
globals: {}
}