diff --git a/packages/cli/src/commands/app/lint.ts b/packages/cli/src/commands/app/lint.ts index 1f1e4e6251..bacd66f1c7 100644 --- a/packages/cli/src/commands/app/lint.ts +++ b/packages/cli/src/commands/app/lint.ts @@ -18,7 +18,7 @@ import { Command } from 'commander'; import { run } from '../../helpers/run'; export default async (cmd: Command) => { - const args = ['lint']; + const args = ['lint', '--max-warnings=0', '--format=codeframe']; if (cmd.fix) { args.push('--fix'); } diff --git a/packages/cli/src/commands/plugin/lint.ts b/packages/cli/src/commands/plugin/lint.ts index 1f1e4e6251..bacd66f1c7 100644 --- a/packages/cli/src/commands/plugin/lint.ts +++ b/packages/cli/src/commands/plugin/lint.ts @@ -18,7 +18,7 @@ import { Command } from 'commander'; import { run } from '../../helpers/run'; export default async (cmd: Command) => { - const args = ['lint']; + const args = ['lint', '--max-warnings=0', '--format=codeframe']; if (cmd.fix) { args.push('--fix'); }