meta: add missing lint rule for .ts files (#5335)

This commit is contained in:
Antoine du Hamel 2024-07-15 11:57:51 +02:00 committed by GitHub
parent 897a34259e
commit 6f8dd870ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -453,6 +453,7 @@ module.exports = {
selector: 'ImportDeclaration[source.value=/^@uppy\\x2Futils\\x2Flib\\x2F.+\\.[mc]?[jt]sx?$/]',
message: 'Do not use file extension when importing from @uppy/utils',
}],
'import/extensions': ['error', 'ignorePackages'],
'import/prefer-default-export': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-explicit-any': 'off',