Skip to content

Commit

Permalink
fix(eslint-config): allow arrow function in object
Browse files Browse the repository at this point in the history
  • Loading branch information
foray1010 committed Jul 28, 2022
1 parent 1a8bec3 commit 2b7549b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/eslint-config/presets/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,7 @@ module.exports = {
// do not enforce JSDoc for internal methods
'jsdoc/require-jsdoc': 'off',
// avoid assigning anonymous function to object key which is harder to trace when debug
'object-shorthand': [
'error',
'always',
{
avoidExplicitReturnArrows: true,
},
],
'object-shorthand': ['error', 'always'],
// auto sort export statements
'simple-import-sort/exports': 'error',
// auto sort import statements
Expand Down

0 comments on commit 2b7549b

Please sign in to comment.