-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Specify Configuration File for CSharpier Linter #3553
Comments
@NadaMusthafa please could you share an example of call to CSharpier with config file, so we can add its management in MegaLinter ? |
We used the following Settings: Docker Image (latest): oxsecurity/megalinter-only-csharp_csharpier:beta_20240508-1708 Environment variables: For MegaLinter: For CSharpier: With this basic setting, CSharpier throws an exception as shown. |
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 |
Hi @NadaMusthafa, I’ve taken a look into this for you and have found a few problems with config files and paths both in Taking I’ve increased the indent to 8 spaces in the .editorconfig and .csharpierrc for testing purposes.
This strongly suggests that csharpier doesn’t support using the However while doing some testing for this issue I noticed that megalinter doesn’t work when overriding the configuration file name or path for a Hope this helps, |
Currently, there are no environment variables available for CSharpier linter to point to a configuration file, making it challenging to specify rules from a specific configuration file. This limitation inhibits users from customizing linting rules efficiently.Hence, with current implementation, how can we set CSharpier linter to point to a custom configuration file?
The text was updated successfully, but these errors were encountered: