[plugins] `mustExist` for custom rules does not give an error for additional properties
See original GitHub issueIs your feature request related to a problem? Please describe. following the example for Plugins
I successfully created an example to test required properties in a Response
object but I was not able to figure out how to evaluate
additional properties in the schema object. I want to ensure the mustExist
array are the only properties defined in the schema.
Describe the solution you’d like
I would like to know how to use mustExist
in the custom rule to enforce a specific schema.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
should NOT have additional properties. · Issue #2231 ... - GitHub
Configuration for rule "react/jsx-indent" is invalid: Value {"indentLogicalExpressions":true} should NOT have additional properties.
Read more >Rules - Redocly
Rules. All Redocly CLI rules are listed on this page. To learn how to configure rules, read more about their configuration syntax.
Read more >What happened to my website? - WordPress.org
My website was running well. Updated all plugins. Then it crashed with 2 weird line of error. Decidded to manually update WordPress to...
Read more >Resolve validation errors - Azure DevOps Services
Fix errors reported upon importing a process to support customization of tracking work in Azure DevOps Services.
Read more >SonarQube 5.2 - Issues not locked against custom Java rules
Debug statements from custom plugin code were not executed when analysis was done with logging level at verbose/DEBUG. The behaviour was the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jeremyfiel your code looks valid!
I would just improve location arg from the last report:
Can this issue be resolved?
thanks Roman.