Skip to content

Commit

Permalink
Add .ignore file for search tools (#9417)
Browse files Browse the repository at this point in the history
* Add .ignore file for search tools

Tools like `rg` [1] and `ag` [2] support a `.ignore` file which defines
files that are ignored during a recursive search. This adds the file
which makes recursive file searches in the code base ignore files that
are generally not desirable to search in like bindata, vendored files
and compiled frontend assets.

[1] https://github.com/BurntSushi/ripgrep/
[2] https://github.com/ggreer/the_silver_searcher

* add leading slash

* remove files already in .gitignore
  • Loading branch information
silverwind authored and sapk committed Dec 18, 2019
1 parent d644934 commit 8873a80
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/vendor
/public/vendor
/modules/options/bindata.go
/modules/public/bindata.go
/modules/templates/bindata.go

0 comments on commit 8873a80

Please sign in to comment.