EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs.
The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable the editors to read the file format and adhere to the defined styles. EditorConfig files are easy to read and work well with version control systems.
Visual Studio 2019 and later support EditorConfig files, so you can use an EditorConfig file in Visual Studio to define and maintain code style settings.
https://github.com/dotnet/aspnetcore/blob/main/.editorconfig
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the <<LICENSE_TYPE>> license.
// See the LICENSE file in the project root for more information.
Use an EditorConfig file in Visual Studio to add file header copyright information.
// Copyright (c) HelloShop Corporation. All rights reserved.
// Licensed under the MIT License.
file_header_template = Copyright (c) HelloShop Corporation. All rights reserved.\nLicensed under the MIT License.