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

refactor: Linter, Context and more #1218

Merged
merged 19 commits into from
Dec 20, 2023

Conversation

bartlomieju
Copy link
Member

This is just a cleanup in preparation for another plugin system prototype.

With this commit "Linter" is a struct that should be created only once and used
to lint many files, instead of creating a new instance for every single file.

The API was changed to "Linter::lint_file" that accepts a "LintFileOptions".

@deno-deploy deno-deploy bot requested a deployment to Preview December 19, 2023 20:18 Abandoned
@deno-deploy deno-deploy bot requested a deployment to Preview December 19, 2023 20:18 Abandoned
@deno-deploy deno-deploy bot requested a deployment to Preview December 19, 2023 20:27 Abandoned
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

LGTM

@bartlomieju bartlomieju merged commit 9cd4fb2 into denoland:main Dec 20, 2023
6 checks passed
@bartlomieju bartlomieju deleted the refactor_context branch December 20, 2023 21:07
benStre pushed a commit to unyt-org/deno_lint_old that referenced this pull request Jan 3, 2024
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