Skip to content

Commit 93c862d

Browse files
flovogtRandomByteKlattG
authored
docs(README.md): Add documentation for further autofix capabilities (#726)
Enhance documentation to reflect enablement of further autofix capabilities. JIRA: CPOUI5FOUNDATION-991 JIRA: CPOUI5FOUNDATION-994 JIRA: CPOUI5FOUNDATION-1038 --------- Co-authored-by: Merlin Beutlberger <[email protected]> Co-authored-by: Günter Klatt <[email protected]>
1 parent 6d65a0c commit 93c862d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,14 @@ ui5lint --fix
174174
```
175175

176176
Currently, issues of the following rules are fixable:
177-
- no-globals: Usage of globals that are part of UI5 (e.g. `sap.m.Button`) are replaced with the corresponding module import
177+
- no-globals: Usage of globals that are part of UI5 (e.g. `sap.m.Button`) are replaced by the corresponding module import (in JS files)
178+
- no-deprecated-api: Usage of deprecated APIs
179+
- Usages of some deprecated APIs on `sap.ui.getCore().getConfiguration()` a.k.a. "Configuration Facade" are replaced by the corresponding recommended APIs (in JS files)
180+
- Usages of some deprecated APIs on `sap.ui.getCore()` a.k.a. "Core Facade" are replaced by the corresponding recommended APIs (in JS files)
181+
- Usages of the deprecated `tap` event handler on `sap/m/Button` are replaced by the recommended `press` event handler (in JS and XML files). Also, the associated event handler methods `attachTap` and `dettachTap` are replaced by the corresponding `attachPress` and `detachPress` methods.
182+
- Usages of the deprecated `useExportToExcel` property on `sap/ui/comp/smarttable/SmartTable` are replaced by the `enableExport` property (in JS and XML files)
183+
- Usages of the deprecated `synchronizationMode` property on `sap/ui/model/odata/v4/ODataModel` are removed (in JS files)
184+
- Usages of the deprecated `minWidth` property on `sap/ui/layout/form/SimpleForm` are removed (in JS and XML files)
178185

179186
After applying fixes, the linter runs another pass to detect any remaining issues. Not all findings may be fixable, so those issues may need to be addressed manually.
180187

0 commit comments

Comments
 (0)