Skip to content

Commit

Permalink
feat(eslint): remove preference for default export (iTowns#2447)
Browse files Browse the repository at this point in the history
Default exports mess with tree shaking and are a source of naming inconsistencies.
  • Loading branch information
HoloTheDrunk authored Oct 25, 2024
1 parent 0a098af commit 4e7bcd2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ module.exports = {
devDependencies: ['test/**', 'tests/**', 'examples/**'],
}], */
'import/no-extraneous-dependencies': 'off',
'import/prefer-default-export': 'off',

// TODO reactivate all the following rules

Expand Down Expand Up @@ -95,9 +96,9 @@ module.exports = {
'error',
'ignorePackages',
{
'js': 'never',
'ts': 'never',
'tsx': 'never',
js: 'never',
ts: 'never',
tsx: 'never',
},
],
camelcase: 'off',
Expand Down

0 comments on commit 4e7bcd2

Please sign in to comment.