diff --git a/.eslintignore b/.eslintignore index 33686327..8490659b 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1,2 @@ +**/node_modules packages/@vuepress/shared-utils/lib diff --git a/package.json b/package.json index 08ded49e..180e22b8 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "dev:blog": "yarn workspace blog dev", "build:blog": "yarn workspace blog build", "register-vuepress": "lerna exec --scope vuepress -- yarn link", - "lint": "eslint --fix packages/**/*.js packages/**/*.vue packages/**/bin/*", + "lint": "eslint packages --fix --ext .js,.vue", "release": "yarn --pure-lockfile && yarn tsc && node scripts/release.js", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "test": "node scripts/test.js",