Skip to content
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

[BuildCheck][Feature Request]: Make it possible to override the filename of EditorConfig #10096

Open
f-alizada opened this issue May 2, 2024 · 0 comments

Comments

@f-alizada
Copy link
Contributor

f-alizada commented May 2, 2024

Summary

The pr to support Editorconfig is out #9811 and in Review state.
Once merge I suggest to make it possible to override the file name that is used by the editorconfig parser (now it is .editorconfig)

Background and Motivation

Motivation:

  • Make feature more flexible in terms of configuration
  • Specification does not require the file name to be ".editorconfig" but only it's format (https://spec.editorconfig.org/#terminology)
  • In case we will face perf regression with already existing large .editorconfigs there will be a possibility to create a file configuring only for BuildCheck infra.

Proposed Feature

Propose change:
Add command line switch: /analyzerConfig with key-value possibility
the first configuration to be presented is:
editorConfigFileName:"<filename.anything>"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants