We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Files without file extension are not included for linting. Example: README.
README
podman
podman run -it --rm registry.gitlab.com/pipeline-components/alex:0.21.9 --version
11.0.0
podman run -it --rm registry.gitlab.com/pipeline-components/alex:0.21.9 env
NODE_VERSION=19.8.1 YARN_VERSION=1.22.19
echo "pop" > README
alex
podman run -it --rm --volume "$(pwd):/alex:ro,z" --workdir "/alex" registry.gitlab.com/pipeline-components/alex:0.21.9 --why .
It should return status code 1 and print:
1
README 1:1-1:4 warning `pop` may be insensitive, use `parent` instead dad-mom retext-equality ⚠ 1 warning
It returns status code 0 (success) without printing anything to standard output or error output.
0
Explicitly provide files without file extension to alex:
podman run -it --rm --volume "$(pwd):/alex:ro,z" --workdir "/alex" registry.gitlab.com/pipeline-components/alex:0.21.9 --why README
But this will not work when .alexignore is defined:
.alexignore
echo "README" > .alexignore
It returns status code 1 and prints:
README 1:1 error Cannot process specified file: it’s ignored ✖ 1 error
The text was updated successfully, but these errors were encountered:
Hi!
It is intentional that files without extensions, which could include any code, or be for example binary files, are not included by default.
If you want to include certain files, pass them: alex whatever
alex whatever
Sorry, something went wrong.
No branches or pull requests
Subject of the issue
Files without file extension are not included for linting. Example:
README
.Your environment
podman
podman run -it --rm registry.gitlab.com/pipeline-components/alex:0.21.9 --version
podman run -it --rm registry.gitlab.com/pipeline-components/alex:0.21.9 env
Steps to reproduce
alex
:Expected behaviour
It should return status code
1
and print:Actual behaviour
It returns status code
0
(success) without printing anything to standard output or error output.Workaround
Explicitly provide files without file extension to alex:
But this will not work when
.alexignore
is defined:It returns status code
1
and prints:Related issues
The text was updated successfully, but these errors were encountered: