Add lint rule for array callback returns

This commit is contained in:
Bill Thornton 2020-12-12 00:42:11 -05:00
parent ebb4b05081
commit 14dc03ab7d

View File

@ -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'],