Skip to content

Commit

Permalink
meta: resolve warnings in .d.ts files (#3754)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 authored May 19, 2022
1 parent b0e01ff commit dbd271e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion packages/@uppy/core/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable max-classes-per-file */
import * as UppyUtils from '@uppy/utils'

// Utility types
Expand Down

0 comments on commit dbd271e

Please sign in to comment.