You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2024/04/03 04:37:37 UTC
(streampipes) branch dev updated: build(#2633): Enable auto fix for lint and prettier in git pre-commit hook (#2634)
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new 744bfacbef build(#2633): Enable auto fix for lint and prettier in git pre-commit hook (#2634)
744bfacbef is described below
commit 744bfacbef2161c9c49dc3733b438ee2a0041c24
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Wed Apr 3 06:37:32 2024 +0200
build(#2633): Enable auto fix for lint and prettier in git pre-commit hook (#2634)
---
ui/.lintstagedrc.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/.lintstagedrc.json b/ui/.lintstagedrc.json
index ca7497c491..d67c35505b 100644
--- a/ui/.lintstagedrc.json
+++ b/ui/.lintstagedrc.json
@@ -1,4 +1,4 @@
{
- "*.*": "prettier --check",
- "src/**/*.ts": ["ng-lint-staged lint --"]
+ "*.*": "prettier --write",
+ "src/**/*.ts": ["ng-lint-staged lint --fix"]
}