
A linter is a static code analysis tool used to find programming bugs, stylistic errors and suspicious constructs. The usage of a linter has many advantages such as
The UI5 team introduces UI5 linter to help improve your UI5 code. |
A focus of the first version released now are capabilities to validate the compliance to Best Practices for UI5 Developers. Following these best practices for new as well as existing apps has always been … well, … best practice. Going forward, this will be even more relevant as these best practices will be the basis for bringing an app to UI5 2.x. Please refer to Introducing OpenUI5 2.x to understand the approach of removing everything not required to comply with the best practices.
UI5 linter is a static code analysis tool for UI5 projects. It checks JavaScript, XML, JSON, and other files in your project and reports the findings. It lists problematic code, which is not following the UI5 best practices, including
Please note: While the initial version of UI5 linter already provides good value, it is not yet covering all aspects and not all best practices for UI5 2.x. The UI5 team plans more versions in the next weeks, which can reveal more findings.
UI5 linter is installed via the npm package manager and can be used via the CLI. Find details on how to install and use it on https://github.com/SAP/ui5-linter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
28 | |
25 | |
23 | |
19 | |
19 | |
15 | |
13 | |
10 | |
10 | |
8 |