Missing autofix for methods related to jQuery.position.*
Open
Nobody has claimed this yet.
autofix
- Dominant language
- TypeScript
- Stars
- 79
- Forks
- 13
- Avg merge
- 19h 34m
- Merged PRs (30d)
- 9
Description
Missing autofix for methods related to jQuery.position.*
Methods related to jQuery.position.* are deprecated. Therefore an autofix should be offered by UI5 linter.
Deprecated APIs:
- jQuery.position.*
Deprecated Usage
var scrollbarWidthR = jQuery.position.scrollbarWidth();
Recommended Usage
sap.ui.define([
"sap/ui/thirdparty/jqueryui/jquery-ui-position"
], (jQuery) => {
var scrollbarWidthR = jQuery.position.scrollbarWidth();
});
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue concerns the deprecated jQuery.position.scrollbarWidth() usage and shows the recommended sap/ui/thirdparty/jqueryui/jquery-ui-position dependency. Start by locating existing autofix handling for related deprecated jQuery APIs, then add coverage for this usage and verify that the resulting autofix matches the recommended form.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100