Skip to content

Commit

Permalink
fix(engine): ignore eslint inline configurations
Browse files Browse the repository at this point in the history
- Fixes #38
  • Loading branch information
AriPerkkio committed Mar 21, 2021
1 parent 90b4837 commit 93616dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/engine/worker-task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ export default async function workerTask(): Promise<void> {
const linter = new ESLint({
useEslintrc: false,
overrideConfig: config.eslintrc,

// Only rules set in configuration are expected.
// Ignore all inline configurations found from target repositories.
allowInlineConfig: false,
});

const { repository } = workerData as WorkerData;
Expand Down

0 comments on commit 93616dd

Please sign in to comment.