Skip to content

Commit

Permalink
Suppress ESLint warnings about usage of ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmengels committed Nov 3, 2023
1 parent 48a78b3 commit 6996db9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function compute(processArgv) {
alias: Flags.flags
.filter((flag) => flag.alias)
.reduce((object, flag) => {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore - Handle this later
object[flag.name] = flag.alias;
return object;
Expand Down
1 change: 1 addition & 0 deletions lib/suppressed-errors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const path = require('path');
const util = require('util');
const childProcess = require('child_process');
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore - Handle this later
const glob = require('glob');
const chalk = require('chalk');
Expand Down

0 comments on commit 6996db9

Please sign in to comment.