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: make lint rules not require 'static #1294

Merged
merged 6 commits into from
Jul 22, 2024

Conversation

dsherret
Copy link
Member

This allows creating lint rules in the CLI that aren't 'static.

/// Parsed source of the program.
pub fn parsed_source(&self) -> &ParsedSource {
&self.parsed_source
}
Copy link
Member Author

Choose a reason for hiding this comment

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

I also want this for the CLI so I can pass it to deno graph.

@dsherret dsherret merged commit f1b63e9 into denoland:main Jul 22, 2024
6 checks passed
@dsherret dsherret deleted the refactor_switch_box_lint_rules branch July 22, 2024 22:56
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