Skip to content

Fix vscode extension not respecting exclude#578

Open
chriscerie wants to merge 11 commits intoKampfkarren:mainfrom
chriscerie:fix-exclude
Open

Fix vscode extension not respecting exclude#578
chriscerie wants to merge 11 commits intoKampfkarren:mainfrom
chriscerie:fix-exclude

Conversation

@chriscerie
Copy link
Collaborator

@chriscerie chriscerie commented Jan 13, 2024

Adds handling from extension to ignore exclude paths. Ideally this logic would be handled by the cli. But the extension forwards the contents of each file to the cli to lint. It doesn't lint on files directly since it wouldn't work with unsaved changes. Since the cli doesn't have context on the file paths, it can't properly handle exclude paths.

@chriscerie chriscerie marked this pull request as ready for review March 23, 2024 20:26
Copy link
Owner

@Kampfkarren Kampfkarren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this break selene if it's in a new tab with no associated file?

@chriscerie chriscerie marked this pull request as draft April 28, 2024 22:51
@chriscerie chriscerie marked this pull request as ready for review May 25, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants