Lint: make 'space-before-function-paren' rule stricter to reflect enforced style

This commit is contained in:
larabr 2023-12-18 15:52:19 +01:00
parent e92b44bc84
commit 19cb6ee521

View File

@ -89,7 +89,7 @@ module.exports = {
'prefer-template': 'off', 'prefer-template': 'off',
'quote-props': 'off', 'quote-props': 'off',
'quotes': ['error', 'single', { 'avoidEscape': true }], 'quotes': ['error', 'single', { 'avoidEscape': true }],
'space-before-function-paren': 'off', 'space-before-function-paren': ['error', { 'anonymous': 'ignore', 'named': 'never', 'asyncArrow': 'always' }],
'spaced-comment': 'off', 'spaced-comment': 'off',
'indent': ['error', 2, { 'SwitchCase': 1 }], 'indent': ['error', 2, { 'SwitchCase': 1 }],
'no-unused-vars': 'error', 'no-unused-vars': 'error',