You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After staying up all night, I traced it to a bad configuration in VSCode User settings.json. Why it was like that, I don't know. Feel free to close this issue if this is out of scope. Otherwise, I'll finish the PR that checks if extends is a string or array, moves it to the correct part of the config object, and removes it from extendsRules.
…int.config.extend.rules
fixesjoshbolduc#793
This gracefully handles invalid configurations set via the extension's configuration. Previously, commitlint's Lint function would throw an error if our extendRules contained rules that do not satisfy commitlint's
`AnyRuleConfig<RuleConfigQuality.Qualified>`.
BinToss
changed the title
RangeError: Found rules without implementation: extends.
Improve troubleshooting exerience for bad configs in VSCode settings.json
Feb 28, 2025
BinToss
added a commit
to BinToss/joshbolduc.vscode-commitlint
that referenced
this issue
Mar 7, 2025
…xtendsRules
First, lint without `extendsRules` to validate loaded config. Void successful result. Repeat with `extendsRules`. Assign second call's successful result.
Commitlint's API does not provide a better solution...
Resolvesjoshbolduc#793
After staying up all night, I traced it to a bad configuration in VSCode User settings.json. Why it was like that, I don't know. Feel free to close this issue if this is out of scope. Otherwise, I'll finish the PR that checks if
extends
is a string or array, moves it to the correct part of the config object, and removes it fromextendsRules
.This seems to be caused by an

extends
property in the IPC message.......which is later spread inside the commitlint config object's
rules
property.The text was updated successfully, but these errors were encountered: