Skip to content

Commit

Permalink
fix: include root config files in lint (close #913)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Mar 3, 2018
1 parent fe9aed8 commit c40a88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-plugin-eslint/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = function lint (args = {}, api) {
const options = require('./eslintOptions')(api)
const { done } = require('@vue/cli-shared-utils')

const files = args._ && args._.length ? args._ : ['src', 'test']
const files = args._ && args._.length ? args._ : ['src', 'tests', '*.js']
if (args['no-fix']) {
args.fix = false
delete args['no-fix']
Expand Down

0 comments on commit c40a88d

Please sign in to comment.