mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +00:00
lint: Update linting rule on space-before-paren
This commit is contained in:
parent
69fa6fc637
commit
83815de91b
@ -22,7 +22,14 @@ module.exports = {
|
|||||||
// allow debugger during development
|
// allow debugger during development
|
||||||
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
|
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
|
||||||
// do not allow console.logs etc...
|
// do not allow console.logs etc...
|
||||||
'no-console': 2
|
'no-console': 2,
|
||||||
|
'space-before-function-paren': [
|
||||||
|
2,
|
||||||
|
{
|
||||||
|
anonymous: 'always',
|
||||||
|
named: 'never'
|
||||||
|
}
|
||||||
|
],
|
||||||
},
|
},
|
||||||
globals: {}
|
globals: {}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user