Commit 4363c107 authored by vilicvane's avatar vilicvane

Remove `--ext` and use globs for extension names

Option `--ext` is not expected to work with globs, see
http://eslint.org/docs/user-guide/command-line-interface#ext.
parent 9ea878f7
......@@ -19,7 +19,7 @@
"pub": "sh build/release.sh",
"pub:all": "npm run dist:all && lerna publish",
"build:utils": "babel src/utils --out-dir lib/utils",
"lint": "eslint src/** packages/** build/** --ext .js,.vue --quiet"
"lint": "eslint src/**/*.js packages/**/*.{js,vue} build/**/*.js --quiet"
},
"repository": {
"type": "git",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment