Add lint rule for array callback returns
This commit is contained in:
parent
ebb4b05081
commit
14dc03ab7d
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ module.exports = {
|
|||
'plugin:compat/recommended'
|
||||
],
|
||||
rules: {
|
||||
'array-callback-return': ['error'],
|
||||
'block-spacing': ['error'],
|
||||
'brace-style': ['error', '1tbs', { 'allowSingleLine': true }],
|
||||
'comma-dangle': ['error', 'never'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue