Skip to content

Commit

Permalink
Ignore files improvements (vuejs-templates#953)
Browse files Browse the repository at this point in the history
* .eslintignore covers paths that contain generated *.js files

* .gitignore doesn't ignore unnecassary paths

* root .js files are added to ESLint ignore list
  • Loading branch information
exarus authored and yugasun committed Nov 2, 2017
1 parent 5589e2e commit 3d80405
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions template/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
build/*.js
config/*.js
/build/
/config/
/dist/
/*.js
{{#unit}}
/test/unit/coverage/
{{/unit}}
6 changes: 3 additions & 3 deletions template/.gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
.DS_Store
node_modules/
dist/
/dist/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
{{#unit}}
test/unit/coverage
/test/unit/coverage/
{{/unit}}
{{#e2e}}
test/e2e/reports
/test/e2e/reports/
selenium-debug.log
{{/e2e}}

Expand Down

0 comments on commit 3d80405

Please sign in to comment.