-
Notifications
You must be signed in to change notification settings - Fork 7
feat: Autofix results #598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
JIRA: CPOUI5FOUNDATION-989
Will be done in a separate PR
@@ -51,15 +51,17 @@ export interface UI5LinterOptions { | |||
rootDir?: string; | |||
} | |||
|
|||
export async function ui5lint(options?: UI5LinterOptions): Promise<LintResult[]> { | |||
export async function ui5lint(options?: UI5LinterOptions): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note that this is an incompatible change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely!
That’s why I put it as a separate draft request.
Let’s discuss offline what would be the options for that functionality
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I came with an alternative approach here: #600
Each of them has its own flaws, but I think the one in the link is more convenient as it does not introduce backward incompatibilities
5c397d5
to
69bb793
Compare
Display information about the fixed problems from the autofix