Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to ignore files/folders? #262

Open
thegoatherder opened this issue Apr 26, 2021 · 5 comments
Open

How to ignore files/folders? #262

thegoatherder opened this issue Apr 26, 2021 · 5 comments

Comments

@thegoatherder
Copy link

When running a command like:

tsqllint ./MyProject

How can I ignore specific subfolders like ./MyProject/bin, ./MyProject/obj ?

@stale
Copy link

stale bot commented Jun 16, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 16, 2021
@stale stale bot closed this as completed Jun 26, 2021
@LuisUrrutia
Copy link

Need the same feature

@nathan-boyd nathan-boyd reopened this Jan 21, 2022
@stale stale bot removed the stale label Jan 21, 2022
@nathan-boyd
Copy link
Member

@LuisUrrutia 👍

@thegoatherder
Copy link
Author

In terms of how this should work, I think it would be best if it used a .ignore file like other libraries. e.g.
.gitignore
.prettierignore
.eslintignore

A .tsqllintignore file could implement glob patterns for enabling easy exclusions of files, folders, extensions and more complex exclusions like folder/**/*.sql

@grantwforsythe
Copy link
Contributor

Can this issue be closed out with the referenced changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants