generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support projects with type "module"
This allows linting projects that currently do not fit any other project structure of UI5 Tooling. To lint such projects, a `ui5.yaml` needs to be added to the root of the project with the following content: ```yaml specVersion: "4.0" type: module metadata: name: <project-name> resources: configuration: paths: /resources/<namespace>/: "<sources-folder>" ```` Placeholders `<project-name>`, `<namespace>` and `<sources-folder>` need to be replaced with the actual values. Example: A project has its sources in a folder `src` and uses the namespace `my.project`, so for example a source file named `src/my/project/util/Formatter.js` would exist. In this case the placeholders would be replaced as follows: - `<project-name>`: `my.project` - `<namespace>`: `my/project` - `<sources-folder>`: `src`
- Loading branch information
Showing
2 changed files
with
74 additions
and
29 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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