cli: limit to 0 warnings and use codeframe format for lint tasks
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user