dotnet / dotnet/msbuild

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

Open
#10,096 0 comments 0 reactions 0 assignees View on GitHub
Area: BuildCheck Feature Request triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

### Summary

The pr to support Editorconfig is out https://github.com/dotnet/msbuild/pull/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:""

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.