vala-lang / vala-lint

Check code-style of Vala code files
GNU General Public License v2.0
96 stars 15 forks source link

Add a .valalintignore File #144

Closed kgrubb closed 2 years ago

kgrubb commented 4 years ago

Various other linters have the ability to lint a directory and its contents recursively, but skip over files/folders listed in a special .ignore file.

For example, eslint has an .eslintignore file that allows a project to ignore certain files or directories when running eslint.

It'd be nice to be able to run io.elementary.vala-lint in a directory and auto-ignore sub-directories that may be auto-generated or may include sub-projects that may not want/need to adhere to the elementary code standard.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/95367731-add-a-valalintignore-file?utm_campaign=plugin&utm_content=tracker%2F45980444&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F45980444&utm_medium=issues&utm_source=github).
jeremypw commented 2 years ago

It could be argued that all hidden files and/or all .gitignored files should be ignored for linting by default even without a special .valalintignore file.