diff --git a/.eslintrc.js b/.eslintrc.js index 07ec0fe5c5..c203026829 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -271,6 +271,16 @@ module.exports = { 'import/extensions': ['error', 'ignorePackages'], }, }, + { + files: [ + 'packages/@uppy/*/types/*.d.ts', + ], + rules : { + 'import/no-unresolved': 'off', + 'max-classes-per-file': 'off', + 'no-use-before-define': 'off', + }, + }, { files: [ 'packages/@uppy/dashboard/src/components/**/*.jsx', diff --git a/packages/@uppy/core/types/index.d.ts b/packages/@uppy/core/types/index.d.ts index 94d6ea89a5..1e4307b840 100644 --- a/packages/@uppy/core/types/index.d.ts +++ b/packages/@uppy/core/types/index.d.ts @@ -1,4 +1,3 @@ -/* eslint-disable max-classes-per-file */ import * as UppyUtils from '@uppy/utils' // Utility types