ADR-0014: Errors in one rule or one project never abort the whole run
Status: Accepted
Context
A run covers many rules, possibly several languages, and possibly several projects. Plugin rules are written by third parties. In a first version, a rule that threw aborted the run for every other rule and project, and an unparseable manifest.json was treated as if the file did not exist, which hid the real problem.
Decision
- A rule that throws is reported as an
errorfinding of that rule, and the other rules keep running. - A
manifest.json,ui5.yaml,ui5-*.yaml, orpackage.jsonthat cannot be parsed is reported as a project error, not as a missing file. - Invalid configuration is reported as a project error (see ADR-0011).
- Plugin load failures are reported as
PluginLoadError, with a localized, specific message (see ADR-0012).