python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to prevent files with "console.log" to be committed?
I'm currently trying to enforce that me or my colleague cannot commit files that contains console.log in my angular application.
I currently already have husky on pre-commit, that execute a ng lint --...
J4N
Votes: 0
Answers: 2
git add same files in precommit after formatting, cannot add deleted files
I have a react project where we have been manually formatting our code before every push. So logically I setup the precommit hook using husky.
This is the precommit hook
#!/bin/sh
. "$(dirname &q...
Giorgi Botsvadze
Votes: 0
Answers: 1
Commitlint not working. git commit -m commitlint message showing unknown argument , husky existed with code 1 (error)
git commit -m "feat: testing the commitlint library"
@commitlint/cli@16.2.3 - Lint your commit messages
[input] reads from stdin if --edit, --env, --from and --to are omitted
Options:
-c, ...
AWE FRANCIS OLAWUMI
Votes: 0
Answers: 2
How to fix commitlint error404?
I'm trying to configure my app and it's my first time installing commitlint + husky. Commitlint was working fine untill I installed Husky. Now i'm stuck with this error when i'm trying to commit -m to...
xFlame
Votes: 0
Answers: 0