Skip to content

Commit c44adfd

Browse files
authored
chore: remove unused eslint-disable comments (#970)
1 parent efa55c7 commit c44adfd

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

@commitlint/cli/src/cli.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
2-
import 'core-js/stable'; // eslint-disable-line import/no-unassigned-import
3-
import 'regenerator-runtime/runtime'; // eslint-disable-line import/no-unassigned-import
2+
import 'core-js/stable';
3+
import 'regenerator-runtime/runtime';
44

55
import load from '@commitlint/load';
66
import lint from '@commitlint/lint';

@commitlint/prompt/src/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable import/no-unassigned-import, import/prefer-default-export */
21
import vorpal from 'vorpal';
32
import input from './input';
43

@commitlint/prompt/src/input.js

-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import settings from './settings';
88

99
export default input;
1010

11-
/* eslint-disable valid-jsdoc */
1211
/**
1312
* Get user input by interactive prompt based on
1413
* conventional-changelog-lint rules.
@@ -48,7 +47,6 @@ async function input(prompter) {
4847
}
4948

5049
results[input] = await getPrompt(input, {
51-
// eslint-disable-line no-await-in-loop
5250
rules: inputRules,
5351
settings: inputSettings,
5452
results,

@packages/utils/pkg-check.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ function main(cli) {
9191
}
9292

9393
return {
94-
pkg: pkg, // eslint-disable-line object-shorthand
95-
pkgFiles: pkgFiles, // eslint-disable-line object-shorthand
94+
pkg: pkg,
95+
pkgFiles: pkgFiles,
9696
files: tarball.files,
97-
problems: problems // eslint-disable-line object-shorthand
97+
problems: problems
9898
};
9999
});
100100
});
@@ -165,7 +165,7 @@ function getArchiveFiles(filePath, options) {
165165
.once('finish', () =>
166166
resolve({
167167
dirname: path.join(path.dirname(filePath), 'package'),
168-
files: files // eslint-disable-line object-shorthand
168+
files: files
169169
})
170170
);
171171
});

0 commit comments

Comments
 (0)