Skip to content

Commit

Permalink
Monorepo: add no-default-export eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrocheleau committed Jul 7, 2022
1 parent 3c4c031 commit 2c95530
Show file tree
Hide file tree
Showing 3 changed files with 321 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/eslint.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'implicit-dependencies', 'prettier'],
plugins: ['@typescript-eslint', 'implicit-dependencies', 'import', 'prettier'],
env: {
es2020: true,
node: true,
Expand Down Expand Up @@ -45,6 +45,7 @@ module.exports = {
'no-redeclare': 'off',
'@typescript-eslint/no-redeclare': ['error'],
'@typescript-eslint/restrict-plus-operands': 'off',
'import/no-default-export' : ['error']
},
parserOptions: {
sourceType: 'module',
Expand Down
Loading

0 comments on commit 2c95530

Please sign in to comment.