Skip to content

Commit

Permalink
chore(eslint): remove consistent-return rule
Browse files Browse the repository at this point in the history
  • Loading branch information
tutods committed Aug 7, 2023
1 parent bf8fbbe commit f1f10ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/eslint-config/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
'block-spacing': ['error', 'never'],
'brace-style': ['error', 'stroustrup'],
'capitalized-comments': ['error', 'always'],
'consistent-return': 'error',
// 'consistent-return': 'error',
curly: ['error', 'multi', 'consistent'],
'default-case': ['error', { commentPattern: '^skip\\sdefault' }],
'default-case-last': 'error',
Expand Down Expand Up @@ -91,7 +91,6 @@ module.exports = {
'prefer-spread': 'error',
'prefer-template': 'error',
'quote-props': ['error', 'as-needed'],
'require-await': 'warn',
'rest-spread-spacing': ['error', 'never'],
'space-in-parens': ['error', 'always'],
'spaced-comment': ['error', 'always'],
Expand Down

0 comments on commit f1f10ea

Please sign in to comment.