UNPKG

326 BJavaScriptView Raw
1'use strict'
2
3module.exports = {
4 command: 'lint',
5 desc: 'Lint all project files',
6 builder: {
7 fix: {
8 alias: 'f',
9 type: 'boolean',
10 describe: 'Automatically fix errors if possible',
11 default: false
12 }
13 },
14 handler (argv) {
15 const lint = require('../src/lint')
16 return lint(argv)
17 }
18}