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

Validate config better #263

Closed
marionebl opened this issue Feb 1, 2018 · 2 comments
Closed

Validate config better #263

marionebl opened this issue Feb 1, 2018 · 2 comments

Comments

@marionebl
Copy link
Contributor

marionebl commented Feb 1, 2018

commitlint is bound to become increasingly complex and already creates confusion for less common use cases. This is made worse by commitlint accepting unknown config keys:

Expected Behavior

  • Throw when unknow config keys are encountered
  • Be extra helpful when
    • a rule name is encountered in the root object
    • issuePrefixes is provided outside of parserPreset.parserOpts

Current Behavior

  • Unknown config keys are accecpted without error

Possible Solution

  • JSONSchema (compare webpack)
@armano2
Copy link
Contributor

armano2 commented Dec 8, 2021

@escapedcat fixed as for #2412

@escapedcat
Copy link
Member

Right, thanks @armano2 !

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

No branches or pull requests

3 participants