Rules
BlueprintAudit ships 33 rules. The table below is the overview from the rule catalog, which is the source of truth. It lists each rule ID, its category, its default severity, and the project types it runs for.
- FS: Freestyle app (
--type fs) - FE: Fiori Elements app (
--type fe) - LIB: Library (
--type lib)
| # | ID | Category | Default | Project types |
|---|---|---|---|---|
| 1 | typescript | Technology | error | FS, LIB |
| 2 | xml-views | Technology | error | FS, FE, LIB (only if it contains UI5 controls) |
| 3 | controller-matches-view | Structure | error | FS |
| 4 | folder-structure | Structure | error | FS |
| 5 | no-custom-controls | Technology | error | FS, FE |
| 6 | odata-service | Data | error | FS, FE |
| 7 | odata-metadata-local | Data | error | FS, FE |
| 8 | odata-mockdata | Data | off | FS, FE |
| 9 | non-odata-json | Data | error | FS |
| 10 | no-custom-css | Technology | error | FS, FE |
| 11 | theme | Configuration | error | FS |
| 12 | cache-buster | Configuration | error | FS |
| 13 | namespace | Namespace | error | FS, FE, LIB |
| 14 | consistent-namespace | Namespace | error | FS, FE, LIB |
| 15 | fragments-folder | Structure | error | FS |
| 16 | dialogs-folder | Structure | error | FS |
| 17 | i18n-used | i18n | error | FS, FE, LIB |
| 18 | i18n-languages | i18n | error | FS, FE, LIB |
| 19 | i18n-fallback | i18n | warn | FS, FE |
| 20 | device-types | Configuration | error | FS, FE |
| 21 | flex-enabled | Configuration | warn | FS, FE |
| 22 | content-densities | Configuration | error | FS, FE |
| 23 | mockserver-config | Data | warn | FS, FE |
| 24 | framework | Configuration | error | FS, FE, LIB |
| 25 | ui5-version | Configuration | error | FS, FE, LIB |
| 26 | flp-config | Configuration | error | FS, FE |
| 27 | deploy-config | Configuration | error | FS, FE |
| 28 | app-title-description | Configuration | error | FS, FE |
| 29 | qunit-opa-tests | Tests | warn | FS, FE, LIB |
| 30 | wdi5-tests | Tests | warn | FS |
| 31 | playwright-tests | Tests | warn | FS, FE |
| 32 | app-icons | Configuration | warn | FS, FE |
| 33 | app-version | Configuration | warn | FS, FE, LIB |
How to read the table
- Default is the severity that applies without any config.
offmeans the rule does not run unless you turn it on. - A rule runs only for the project types in the last column.
- Change the severity or the parameters of a rule in
ui5-blueprint-audit.yaml. See Configuration. - The full catalog explains each check and lists the parameters with their defaults.
Example: change one rule
yaml
rules:
namespace:
- error
- value: com.firma
odata-mockdata:
- warn
- mode: one-entityRules in sample projects
The repository has sample projects that show which rule fires where. See sample-prj/testcases.md.