Skip to content

Commit

Permalink
fix warnings from eslint v9
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Aug 5, 2024
1 parent e097b51 commit fcfd6e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export default ts.config(
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-require-imports': 'off',
'mocha/no-setup-in-describe': 'off',
'mocha/no-hooks-for-single-case': 'off',
'mocha/max-top-level-suites': 'off',
Expand Down
2 changes: 1 addition & 1 deletion src/vim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function getXcode11DevDir(): Promise<string | null> {
try {
await fs.access(dir);
return dir;
} catch (e) {
} catch (/* eslint-disable-line @typescript-eslint/no-unused-vars */ e) {
return null;
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/neovim.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { strict as A } from 'assert';
import * as path from 'path';
import mock = require('mock-require');
import { downloadNeovim, downloadStableNeovim, buildNightlyNeovim, assetDirName } from '../src/neovim';
import { downloadNeovim, type downloadStableNeovim, type buildNightlyNeovim, assetDirName } from '../src/neovim';
import { mockFetch, ExecStub, mockExec } from './helper';

function reRequire(): typeof import('../src/neovim') {
Expand Down

0 comments on commit fcfd6e3

Please sign in to comment.