Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Remove definition of warnIgnored in CLIEngine options
Browse files Browse the repository at this point in the history
This flag has no meaning to the `CLIEngine` constructor, it is only
valid as an optional third argument to `executeOnText`. When this was
mistakenly added in #915
this was missed. Luckily the problem it was meant to solve was accepted
as a bug against ESLint itself and fixed there which is why this wasn't
caught earlier.
  • Loading branch information
Arcanemagus committed Jan 15, 2018
1 parent cc67938 commit 9dd6409
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/worker-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ export function getCLIEngineOptions(type, config, rules, filePath, fileDir, give
const cliEngineConfig = {
rules,
ignore: !config.disableEslintIgnore,
warnIgnored: false,
fix: type === 'fix'
}

Expand Down

0 comments on commit 9dd6409

Please sign in to comment.