-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cb 6263 lefthook #3291
base: devel
Are you sure you want to change the base?
Cb 6263 lefthook #3291
Conversation
/* | ||
* CloudBeaver - Cloud Database Manager | ||
* Copyright (C) 2020-2025 DBeaver Corp and others | ||
* | ||
* Licensed under the Apache License, Version 2.0. | ||
* you may not use this file except in compliance with the License. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets have license 1 entry point for vscode snippet and license checking via git hooks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree, it will be strange to support both of them
@@ -37,7 +35,7 @@ | |||
"@types/react-dom": "^19", | |||
"concurrently": "^9", | |||
"eslint": "^9.20.1", | |||
"husky": "^9", | |||
"lefthook": "^1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it didnt workout for me to have githooks after all install
scripts. can we do it without need to install lefthook
globally?
/* | ||
* CloudBeaver - Cloud Database Manager | ||
* Copyright (C) 2020-2025 DBeaver Corp and others | ||
* | ||
* Licensed under the Apache License, Version 2.0. | ||
* you may not use this file except in compliance with the License. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agree, it will be strange to support both of them
@@ -0,0 +1,57 @@ | |||
#!/bin/sh | |||
|
|||
if [ "$LEFTHOOK_VERBOSE" = "1" -o "$LEFTHOOK_VERBOSE" = "true" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we still have the .husky
directory?
No description provided.