You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,7 +174,14 @@ ui5lint --fix
174
174
```
175
175
176
176
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)
178
185
179
186
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.
0 commit comments