소스 검색

chore: update lint config

Gerald 8 년 전
부모
커밋
3186c1c664
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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"