From 8b8732ceaf39aee45e179adc84ecbc9d2f1e240d Mon Sep 17 00:00:00 2001 From: Arne Seime Date: Sat, 14 Dec 2024 09:27:27 +0100 Subject: [PATCH] Update CONTRIBUTING with missing npm lint scripts (#2919) Signed-off-by: Arne Seime --- bundles/org.openhab.ui/CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundles/org.openhab.ui/CONTRIBUTING.md b/bundles/org.openhab.ui/CONTRIBUTING.md index 169a0dfefa..d6d9f1e9d2 100644 --- a/bundles/org.openhab.ui/CONTRIBUTING.md +++ b/bundles/org.openhab.ui/CONTRIBUTING.md @@ -23,6 +23,8 @@ Change to the `web` directory, gather the necessary dependencies with `npm insta * `npm run test:unit:watch` - start the Jest test runner, run the unit tests, keep running and watch for changes * `npm run test:e2e` - start Cypress and run the e2e tests * `npm run test:e2e:gui` - open the Cypress GUI +* `npm run lint` - run linter to detect code style errors +* `npm run lint:fix` - run linter and fix code style errors ## Development server