Browse Source

Merge pull request #168 from vilic/fix-eslint-options

Remove `--ext` and use globs for extension names
杨奕 8 years ago
parent
commit
8b905d24de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -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",