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
Incompatibility click and black versions with Poetry ( ImportError: cannot import name '_unicodefun' from 'click' )
The incompatibility between click 8.1.1 and black <=22.1.0 has been reported and apparently fixed here
But apparently still a problem with poetry, as reported (and also apparently fixed) here
Confi...
Charlotte
Votes: 0
Answers: 1
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
Git commit issue after updating Mac OS
I am getting the below commit error in my Mac OS after updating to the latest version. Tried restarting VS Code and also tried to use terminal and same error. Until git add . step it works fine. Only ...
Krishnamurthy
Votes: 0
Answers: 3