Title: Check unknown config in configuration file · Issue #300 · commitizen-tools/commitizen · GitHub
Open Graph Title: Check unknown config in configuration file · Issue #300 · commitizen-tools/commitizen
X Title: Check unknown config in configuration file · Issue #300 · commitizen-tools/commitizen
Description: Description Check whether unknown configuration exists in the configuration file when strict_config=True is passed. It should work like --strict-markers in pytest. It can avoid typo in the configuration. Possible Solution add strict_conf...
Open Graph Description: Description Check whether unknown configuration exists in the configuration file when strict_config=True is passed. It should work like --strict-markers in pytest. It can avoid typo in the configur...
X Description: Description Check whether unknown configuration exists in the configuration file when strict_config=True is passed. It should work like --strict-markers in pytest. It can avoid typo in the configur...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/300
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Check unknown config in configuration file","articleBody":"## Description\r\nCheck whether unknown configuration exists in the configuration file when `strict_config=True` is passed. It should work like `--strict-markers` in pytest. It can avoid typo in the configuration.\r\n\r\n## Possible Solution\r\n1. add `strict_config` as a configuration\r\n2. define the valid configurations\r\n3. check unknown key in [base_config](https://github.com/commitizen-tools/commitizen/blob/master/commitizen/config/base_config.py) if `strict_config=True`\r\n\r\n## Additional context\r\n\u003c!-- Add any other context or screenshots about the feature request here. --\u003e\r\n\r\n## Related Issue\r\n\u003c!-- If applicable, add link to existing issue also help us know better. --\u003e\r\n","author":{"url":"https://github.com/Lee-W","@type":"Person","name":"Lee-W"},"datePublished":"2020-11-12T02:46:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/300/commitizen/issues/300"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9f82883b-53dd-5cd8-3f47-de78e3c8694f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E410:11E1A2:429346:60CB06:6A622232 |
| html-safe-nonce | 1e96e2e035de1eb74ad259e627c57fb4239163ceb7e007b6fcecbe8ca10e0a99 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDEwOjExRTFBMjo0MjkzNDY6NjBDQjA2OjZBNjIyMjMyIiwidmlzaXRvcl9pZCI6IjM3OTIxMTg0Nzk1OTM4MDg0MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 833cbe6e916a006f1563237a655bbc1fe976493ecdf4ca2dd199ddf492755f88 |
| hovercard-subject-tag | issue:741224082 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitizen-tools/commitizen/300/issue_layout |
| twitter:image | https://opengraph.githubassets.com/33359f6f287a3d9c78695d41d15d6961b7a3f298687338b1b23d4bb7021c1853/commitizen-tools/commitizen/issues/300 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/33359f6f287a3d9c78695d41d15d6961b7a3f298687338b1b23d4bb7021c1853/commitizen-tools/commitizen/issues/300 |
| og:image:alt | Description Check whether unknown configuration exists in the configuration file when strict_config=True is passed. It should work like --strict-markers in pytest. It can avoid typo in the configur... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lee-W |
| hostname | github.com |
| expected-hostname | github.com |
| None | 21839f35c93a14bc8ff43c34023894ded3dead0c48f637766489aed48b50c808 |
| turbo-cache-control | no-preview |
| go-import | github.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 106127589 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 106127589 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f870b4bd550634487383a2b5db62e680537bec89 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width