Open drAlberT opened 1 year ago
Using ignore-from-file .gitignore seems to wrongly handle the case like the following:
ignore-from-file .gitignore
.* !.checkmake !.editorconfig !.gitignore !.gitlab/ !.gitlab-ci.yml !.gitleaks.yml
With the above config no error is reported in the .gitlab-ci.ymlfile, while it works perfectly removing ignore-from-file .gitignore directive in .yamllint.yml
.gitlab-ci.yml
Could be the problem here? Isn't expected to have lines instead of the entire file? https://github.com/adrienverge/yamllint/blob/a68c3aa69e298ea20bdfb51ac388d5bfc4c347aa/yamllint/config.py#L113C78-L113C78
Using
ignore-from-file .gitignore
seems to wrongly handle the case like the following:With the above config no error is reported in the
.gitlab-ci.yml
file, while it works perfectly removingignore-from-file .gitignore
directive in .yamllint.ymlCould be the problem here? Isn't expected to have lines instead of the entire file? https://github.com/adrienverge/yamllint/blob/a68c3aa69e298ea20bdfb51ac388d5bfc4c347aa/yamllint/config.py#L113C78-L113C78