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

Feature request: Ignore file #170

Closed
Leoooob opened this issue Jun 21, 2024 · 5 comments
Closed

Feature request: Ignore file #170

Leoooob opened this issue Jun 21, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@Leoooob
Copy link

Leoooob commented Jun 21, 2024

Running the linter today, you can specify specific files, but not folders to lint. It doesn't make sense to expand file paths to allow folders, it does make sense that we should be able to set an ignore file to ignore generated files like the component.js for instance, or 3rd-party code and libraries.

The workaround right now is to specify every individual file in the project to be linted, which is a bit tedious but works for now.

I would prefer to be able to set a global ignore file for use across projects.

@RandomByte RandomByte added the enhancement New feature or request label Jun 24, 2024
@RandomByte
Copy link
Member

Thanks for reporting. Excluding/Ignoring files is already planned and listed on our roadmap: #21

@matz3
Copy link
Member

matz3 commented Jul 12, 2024

@Leoooob from your description I understand that it would be sufficient to only ignore on a file-level, not ignoring specific findings within a file, right?

@matz3 matz3 mentioned this issue Jul 12, 2024
27 tasks
@Leoooob
Copy link
Author

Leoooob commented Jul 12, 2024 via email

@marianfoo
Copy link
Contributor

Would be great to exclude directories as well, just not specific files like webapp/test/*

@flovogt
Copy link
Member

flovogt commented Sep 23, 2024

This feature is implemented with #264 and available with v0.4.0

@flovogt flovogt closed this as completed Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants