Browse Source

chore: update lint config

Gerald 8 years ago
parent
commit
3186c1c664
2 changed files with 2 additions and 1 deletions
  1. 1 0
      .eslintignore
  2. 1 1
      package.json

+ 1 - 0
.eslintignore

@@ -1,2 +1,3 @@
 **/*.js
 !src/**
+src/public/**

+ 1 - 1
package.json

@@ -7,7 +7,7 @@
     "analyze": "webpack --profile --json --config scripts/webpack.conf.js | webpack-bundle-size-analyzer",
     "analyze:json": "webpack --profile --json --config scripts/webpack.conf.js > stats.json",
     "i18n": "gulp i18n",
-    "lint": "eslint src",
+    "lint": "eslint --ext .js,.vue src",
     "update": "node scripts/update",
     "svgo": "svgo icons",
     "test": "mocha"