Skip to content

Commit

Permalink
Move eslint exceptions into .eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Acconut committed Apr 16, 2024
1 parent 677e063 commit f04835f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"devDependencies": ["test/**/*.js"]
}
],
"import/extensions": ["error", "ignorePackages"]
// Disabled for now, because we cannot use the .ts extension.
// TODO: Reevaluate this once all source files have been moved to TS
"import/extensions": ["off"],
"import/no-unresolved": ["off"]
},
"overrides": [
{
Expand Down
2 changes: 0 additions & 2 deletions lib/upload.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable import/no-unresolved */
/* eslint-disable import/extensions */
import { Base64 } from 'js-base64'
import URL from 'url-parse'
import DetailedError from './error.js'
Expand Down

0 comments on commit f04835f

Please sign in to comment.