Skip to content

Commit

Permalink
feat: Don't require default export for single-export modules
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Nov 4, 2024
1 parent a6be760 commit d8fb42c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ module.exports = {
},
],
'arrow-parens': 'off',
// Avoiding default exports is recommended (https://dev.to/phuocng/avoid-using-default-exports-a1c)
// but we had 'prefer-default-export' on for a long time so we can't turn on 'no-default-export' without causing
// a large refactor.
'import/prefer-default-export': 'off',
'jsx-a11y/label-has-associated-control': ['error', {
labelComponents: [],
labelAttributes: [],
Expand Down

0 comments on commit d8fb42c

Please sign in to comment.