Skip to content

Commit 3a86707

Browse files
SimenBcpojer
authored andcommitted
chore: make no-unused-vars eslint rule error (#5598)
1 parent 430aebe commit 3a86707

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ module.exports = {
132132
// https://github.com/benmosher/eslint-plugin-import/issues/645
133133
'import/order': 0,
134134
'no-console': 0,
135+
'no-unused-vars': 2,
135136
'prettier/prettier': [
136137
2,
137138
{

packages/jest-cli/src/search_source.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import type {Glob, GlobalConfig, Path} from 'types/Config';
1212
import type {Test} from 'types/TestRunner';
1313
import type {ChangedFilesPromise} from 'types/ChangedFiles';
1414

15-
import fs from 'fs';
1615
import path from 'path';
1716
import micromatch from 'micromatch';
1817
import DependencyResolver from 'jest-resolve-dependencies';

0 commit comments

Comments
 (0)