mirror of https://github.com/ElemeFE/element
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.pull/168/head
parent
9ea878f7b5
commit
4363c107c3
|
@ -19,7 +19,7 @@
|
||||||
"pub": "sh build/release.sh",
|
"pub": "sh build/release.sh",
|
||||||
"pub:all": "npm run dist:all && lerna publish",
|
"pub:all": "npm run dist:all && lerna publish",
|
||||||
"build:utils": "babel src/utils --out-dir lib/utils",
|
"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": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in New Issue