cli: limit to 0 warnings and use codeframe format for lint tasks

This commit is contained in:
Patrik Oldsberg
2020-03-18 16:27:08 +01:00
parent a711dc21b2
commit 01771489d5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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');
}
+1 -1
View File
@@ -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');
}