-
Notifications
You must be signed in to change notification settings - Fork 47
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
editorconfig-checker inspects .git by default and fails #268
Comments
Relevant #273, since Git config properties can be set from the command line and these config files are being generated by Git to a varying extent. |
Provided you volume mount to |
Hey, I see this issue being resolved in the On the runner ec .
.git/index:
Not all lines have the correct end of line character fails. But running docker run --rm --volume=$PWD:/check mstruebing/editorconfig-checker succeeds. |
Resolved as in.. it had been already working in the Docker image until Thus the published image for EC # Prevent the git error that triggered EC fallback behaviour:
# https://github.com/editorconfig-checker/editorconfig-checker/pull/265
# Only works when running EC from this location, which the project should be volume mounted to:
git config --global --add safe.directory /check
Right, so chances are you may be experiencing this issue which occurs if you do not have EC then has some fallback logic, but is unaware of {
"IgnoreDefaults": false,
"Exclude": [
"\\.git/"
]
} NOTE: The |
The tool is now inspecting
.git
directories and failing. It seems like the self checks you have in CI might need to be updated here as well as this fails for this repo with the current config.Steps to reproduce
The text was updated successfully, but these errors were encountered: