Closed tobiasqueck closed 5 months ago
After talking to @Klaus-Keller, I have decided to close my feature request, since it is already provided as tile in the application info page in the SAP Fiori tools. Everyone who is not using the tools, can just execute npx --yes @ui5/linter@latest
manually, so there is no real benefit in adding the script.
As a developer, I want to be able to easily check my UI5 projects for UI5 2.x readiness, so that I my projects are ready for future versions.
Description
With the release of https://github.com/SAP/ui5-linter there is now a way to check if best practices in UI5 apps are applied. This is especially important to get ready for UI5 2.x. To enable Fiori tools user, we should add the new linter as dev dependency and also add a script e.g.
lint:2.0
to our generated projects.Technical Design
ui5-application-writer
andui5-library-writer
@ui5/linter
and add script"lint-2.0": "ui5lint"
npx --yes @ui5/linter@latest
Acceptance Criteria
GivenWhenThen format (https://martinfowler.com/bliki/GivenWhenThen.html)
Given I have a generate a UI5 application or library with the Fiori tools when I execute
npm run lint-2.0
then I will know what I have to do to make my project is 2.x compatibleNotes
Experts for further discussion: @petermuessig and @RandomByte
Tasks
ui5-application-writer
ui5-library-writer