Skip to content

Commit

Permalink
enforce use of explicit return types in library code
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Sep 27, 2023
1 parent 123c98d commit 5cd4e9b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,12 @@ module.exports = {
'@typescript-eslint/no-namespace': 'off',
},
},
{
files: ['packages/@uppy/*/src/**/*.ts', 'packages/@uppy/*/src/**/*.tsx'],
'rules': {
'@typescript-eslint/explicit-function-return-type': 'error',
},
},
{
files: ['**/*.md/*.*'],
rules: {
Expand Down

0 comments on commit 5cd4e9b

Please sign in to comment.