I have a particular workspace that for whatever reason auto formats on commit. I have disabled prettier and eslint and it still does this. Are there any settings or plugins that cause this to happen?
Thanks
- 
 1Check to see if this particular repo has any git hooks associated with it.Dan Forbes– Dan Forbes2019年05月09日 22:32:24 +00:00Commented May 9, 2019 at 22:32
 - 
 That was it, thanks so much!Swish– Swish2019年05月10日 00:03:25 +00:00Commented May 10, 2019 at 0:03
 
1 Answer 1
The problem may be caused by a Git hook triggering. Check the .git/hooks folder for any file not ending in .sample and remove or edit as needed.
Credit to Dan Forbes's comment.
 answered Feb 2, 2021 at 2:57
 
 
 
 August Janse 
 
 3341 gold badge7 silver badges23 bronze badges
 
 
 Sign up to request clarification or add additional context in comments.