-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
v8r configuration file not working? #1974
Comments
Usually, I would suggest adding |
I have added the field in the descriptor, as I don't quite understand the whole flow in megalinter descriptors, seeing the link in my first post and how the configuration file resolution works in this linter, do you think something else is needed? |
@bdovaz config_file_name will make that cli_config_arg_name will be used if the file is found in
cli_config_arg_name is |
@nvuillam According to this link: https://github.com/chris48s/v8r#configuration It says that you don't need to pass any parameter and that it automatically looks for it in the working directory under the listed names and by default I have chosen ".v8rrc.yml" but that's why I don't understand what to do in this PR. This linter supposedly does not need to pass any parameter, it simply looks for files with those names in the working directory and that is what does not work with megalinter and it does if I run the linter outside on my own with the npm package, for example: v8r filetocheck.yml |
The problem is that the list of files is sent in absolute format, cwd is not the root of the repo. |
Ok, I'll wait then, can you mention here which one it is? To have it tracked |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
Any news? |
We still need to make pass the PR that uses relative paths :/ |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
No stale, waiting for #1877 |
It has been resolved long ago. |
This page describes how to create a configuration file for this linter: https://github.com/chris48s/v8r#configuration
In my case, I want to customize several schemas because in the repository there are several azure-pipelines*.yml or docker-compose*.yml files that not having the standard name, it does not take the schema and I want to indicate it.
When running megalinter it seems that it is as if this file does not exist.
The text was updated successfully, but these errors were encountered: