Skip to content

Add check for invalid keys in config files #32#204

Merged
sds merged 3 commits into
sds:mainfrom
kleinjm:invalid-keys
Feb 2, 2026
Merged

Add check for invalid keys in config files #32#204
sds merged 3 commits into
sds:mainfrom
kleinjm:invalid-keys

Conversation

@kleinjm

@kleinjm kleinjm commented Jan 29, 2026

Copy link
Copy Markdown
Contributor

Closes #32

Raises the existing NoSuchLinter error class if an invalid linter name is provided in the configuration.

Comment thread .rubocop.yml
# Renaming `has_something?` to `something?` obfuscates whether it is a "is-a" or
# a "has-a" relationship.
Naming/PredicateName:
Naming/PredicatePrefix:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixes rubocop deprecation warning

Warning: The `Naming/PredicateName` cop has been renamed to `Naming/PredicatePrefix`.
(obsolete configuration found in .rubocop.yml, please update it)

@sds sds enabled auto-merge (squash) February 2, 2026 00:10
@sds sds merged commit 426474d into sds:main Feb 2, 2026
4 checks passed
@sds sds added the enhancement label Feb 2, 2026
@sds

sds commented Feb 2, 2026

Copy link
Copy Markdown
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add check for invalid keys in config files

2 participants