Skip to content

Conversation

@psteinroe
Copy link
Collaborator

@psteinroe psteinroe commented Dec 28, 2025

as simple as it gets for now.

will wire up pglinter next and then check if we can refactor linters to share even more

fixed the generated documentation too, which makes up for most of the changes.

Comment on lines +197 to +212
if !has_only_filter {
let enabled_rules = self
.settings
.as_splinter_rules()
.map(|rules| rules.as_enabled_rules())
.unwrap_or_default();

self.enabled_rules.extend(enabled_rules);

let disabled_rules = self
.settings
.as_splinter_rules()
.map(|rules| rules.as_disabled_rules())
.unwrap_or_default();
self.disabled_rules.extend(disabled_rules);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

this seems very familiar, is this an opportunity to dedupe some code?

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.

3 participants