Skip to content

Commit 510f1cb

Browse files
committed
fix eslint rule
1 parent a694093 commit 510f1cb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ module.exports = {
2929
// `jest` against the compiled .js results (would require compiling
3030
// the test files as well)?
3131
'unicorn/prefer-at': 'off',
32+
'import/no-extraneous-dependencies': ['error', {'devDependencies': true, 'optionalDependencies': false, 'peerDependencies': false}],
3233
},
3334
},
3435
],
@@ -71,7 +72,6 @@ module.exports = {
7172

7273
'import/extensions': 'off',
7374
'import/prefer-default-export': 'off',
74-
'import/no-extraneous-dependencies': ['error', {'devDependencies': true, 'optionalDependencies': false, 'peerDependencies': false}],
7575

7676
'@typescript-eslint/no-namespace': 'error',
7777
// TODO: '@typescript-eslint/no-floating-promises': 'error', // Promises must catch errors or be awaited.

packages/neovim/src/testUtil.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import * as cp from 'node:child_process';
22
import * as fs from 'node:fs';
33
import * as path from 'node:path';
4+
// eslint-disable-next-line import/no-extraneous-dependencies
45
import expect from 'expect';
56
import { NeovimClient } from './api/client';
67
import { attach } from './attach/attach';

0 commit comments

Comments
 (0)