- Rules Reference
- async-component-flags
- csp-unsafe-inline-script
- no-ambiguous-event-handler
- no-deprecated-api
- no-deprecated-component
- no-deprecated-control-renderer-declaration
- no-deprecated-library
- no-deprecated-theme
- no-globals
- no-implicit-globals
- no-pseudo-modules
- parsing-error
- prefer-test-starter
- ui5-class-declaration
- unsupported-api-usage
Checks whether a Component is configured for asynchronous loading via the sap.ui.core.IAsyncContentCreation
interface in the Component metadata or via async
flags in the manifest.json
.
Related information
Checks whether inline scripts are used in HTML files in accordance with Content Security Policy (CSP) best practices.
Related information
Checks whether event handlers in XML views/fragments are prefixed by a dot '.' (i.e. represent a controller method) or refer to a local name (via core:require
import).
Related information
Checks whether deprecated APIs, features or parameters are used in the project.
Related information
Checks for dependencies to deprecated components in manifest.json
.
Related information
Checks whether the renderer of a control is declared correctly.
Checks for dependencies to deprecated libraries in manifest.json
and ui5.yaml
.
Related information
Checks for usage of deprecated themes in the code and HTML files.
Related information
Checks for the usage of global variables in the code.
Related information
Checks whether:
- modules are accessed via the global library namespace that is exposed by the
library
module of a UI5 library odata
globals are used implicitly in bindings without an explicit import of the corresponding modules
Related information
Checks for dependencies to pseudo modules in the code.
Related information
Syntax/parsing errors that appear during the linting process are reported with this rule.
Checks whether test-related files are using the Test Starter concept.
Related information
Checks whether the declaration of UI5 classes is correct. This rule only applies to TypeScript code where built-in ECMAScript classes are used instead of an .extend()
call.
Checks whether the UI5 API is used correctly, for example, whether a formatter in a JavaScript/TypeScript binding declaration is of type function
.