From b18c755284e3d30d27b469ef4a437c988064c183 Mon Sep 17 00:00:00 2001 From: Merlin Beutlberger Date: Wed, 17 Apr 2024 15:58:58 +0200 Subject: [PATCH] docs(README): Document '--file-paths' option --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ac2ba664f..0f938e98b 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Run the `ui5lint` command in your project root folder ```sh ui5lint -## UI5Lint Report ## +UI5 linter report: /application/webapp/controller/App.controller.js 10:4 error Call to deprecated function 'attachTap' of class 'Button' @@ -67,6 +67,15 @@ Note: Use "ui5lint --details" to show more information about the findings ### Options +#### `--file-paths` + +Specify which files to lint by providing a list of file paths. + +**Example:** +```sh +ui5lint --file-paths webapp/controller/App.controller.js webapp/view/App.view.xml +``` + #### `--details` Show more information about the findings and how to fix them.