Skip to content

Commit

Permalink
Fix linting" (#1488)
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan authored Aug 19, 2024
1 parent 5d00c94 commit 9cdba06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/errors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// eslint-disable-next-line @typescript-eslint/ban-types -- TODO: fix lint error
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type -- TODO: fix lint error
function ExtendableBuiltin<T extends Function>(cls: T): T {
function ExtendableBuiltin(this: any, ...args) {
cls.apply(this, args);
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/cosmiconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const loadTypeScript: Loader = (filepath) => {
};

const loadToml: Loader = (...args) => {
// eslint-disable-next-line @typescript-eslint/no-var-requires
// eslint-disable-next-line @typescript-eslint/no-require-imports
const { loadToml } = require('cosmiconfig-toml-loader');
return createCustomLoader(loadToml)(...args);
};
Expand Down

0 comments on commit 9cdba06

Please sign in to comment.