Skip to content

Latest commit

 

History

History
84 lines (53 loc) · 3.07 KB

Rules.md

File metadata and controls

84 lines (53 loc) · 3.07 KB

Rules Reference

async-component-flags

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

csp-unsafe-inline-script

Checks whether inline scripts are used in HTML files in accordance with Content Security Policy (CSP) best practices.

Related information

no-deprecated-api

Checks whether deprecated APIs, features or parameters are used in the project.

Related information

no-deprecated-component

Checks for dependencies to deprecated components in manifest.json.

Related information

no-deprecated-control-renderer-declaration

Checks whether the renderer of a control is declared correctly.

no-deprecated-library

Checks for dependencies to deprecated libraries in manifest.json and ui5.yaml.

Related information

no-deprecated-theme

Checks for usage of deprecated themes in the code and HTML files.

Related information

no-globals

Checks for the usage of global variables in the code.

Related information

no-pseudo-modules

Checks for dependencies to pseudo modules in the code.

Related information

parsing-error

Syntax/parsing errors that appear during the linting process are reported with this rule.

ui5-class-declaration

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.