-
While trying to commit my new version of a Dockerfile the pre-commit integration stops me from commiting annoucing me �[91m�[91m�[91m eslint --fix:�[39m
�[0m�[0m
�[0m�[4mC:\path\to\datatlas\front\Dockerfile�[24m�[0m
�[0m �[2m2:4�[22m �[31merror�[39m Parsing error: Missing semicolon. (2:4)�[0m
�[0m�[0m
�[0m�[31m�[1m✖ 1 problem (1 error, 0 warnings)�[22m�[39m�[0m
�[0m�[31m�[1m�[22m�[39m�[0m
husky - pre-commit hook exited with code 1 (error) I've tried to ignore the docker file with an .eslintignore but no change |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
But both tools aren't suppose to attempt parsing a If everything else fails, in last resort.... you may use |
Beta Was this translation helpful? Give feedback.
eslint
also runs prettier, try to add it to prettier ignore file :https://prettier.io/docs/en/ignore.html#ignoring-files-prettierignore
But both tools aren't suppose to attempt parsing a
Dockerfile
...If everything else fails, in last resort.... you may use
--no-verify
flag to avoid running the pre-commit hook.You may create an issue and assign it to me, I'll take a look at it.