feat(autofix): Fix UI5 Bootstrap Parameters in HTML#779
Merged
Conversation
maxreichmann
force-pushed
the
feat-autofix-bootstrap-parameters
branch
from
July 25, 2025 08:18
f7fff57 to
05414bd
Compare
maxreichmann
force-pushed
the
feat-autofix-bootstrap-parameters
branch
2 times, most recently
from
August 7, 2025 07:56
d32cde0 to
89e10d0
Compare
maxreichmann
marked this pull request as ready for review
August 8, 2025 14:19
maxreichmann
marked this pull request as draft
August 11, 2025 08:25
maxreichmann
force-pushed
the
feat-autofix-bootstrap-parameters
branch
2 times, most recently
from
August 13, 2025 08:01
117c32a to
7ced835
Compare
JIRA: CPOUI5FOUNDATION-1063
…lace + Create a loop over collected attributes instead over raw attributes
TODO: Remove entire line (incl. all whitespaces)
+ Add tests for these circumstances
maxreichmann
force-pushed
the
feat-autofix-bootstrap-parameters
branch
from
August 15, 2025 07:05
21f1449 to
4c772f1
Compare
maxreichmann
marked this pull request as ready for review
August 19, 2025 08:15
matz3
commented
Aug 19, 2025
matz3
commented
Aug 19, 2025
maxreichmann
approved these changes
Aug 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA: CPOUI5FOUNDATION-1063
Open tasks:
compat-version=edgeis currently handled in addition to the existing check. This should be streamlined and tested properly.compat-version=edgesrc/autofix/autofix.ts). This needs some investigation to find a good solution:HTML is not strictly valid XML, so we can't reuse the approach for XML filesA separate HTML parser might be required to check for issuesWe might use the existing XML parser approach and only check for error differences of the file before and after the autofixUnit test for error handling could be done in a similar way as for XML changes:
class TestFix extends XmlEnabledFix {
linter/test/lib/autofix/autofix.ts
Line 41 in bc47a76
AnimationModeFix.getAnimationModeValue)data-sap-ui-compatVersion=edge). Modifications should not fail or create invalid HTML, but it would be also fine to ignore such cases as it is unusual and rarely appears in real world projectsa="xyz"ora)