Skip to content

Conversation

@jasonmalinowski
Copy link
Member

The code style settings we already had in a .editorconfig file supplied a set of terms to set different diagnostic severities. The terms don't match the underlying compiler enum, but we will adopt them for setting compiler diagnostic settings as well to keep the values consistent inside a .editorconfig file.

Fixes #35690

@jasonmalinowski jasonmalinowski force-pushed the change-compiler-editorconfig-settings branch from 0e40d2c to b444c1b Compare June 20, 2019 17:39
The code style settings we already had in a .editorconfig file supplied
a set of terms to set different diagnostic severities. The terms don't
match the underlying compiler enum, but we will adopt them for
setting compiler diagnostic settings as well to keep the values
consistent inside a .editorconfig file.

Fixes dotnet#35690
@jasonmalinowski jasonmalinowski force-pushed the change-compiler-editorconfig-settings branch from b444c1b to 44dbfef Compare June 20, 2019 20:00
Copy link
Member

@agocke agocke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks (iteration 1)

@jcouv jcouv self-assigned this Jun 20, 2019
@jasonmalinowski
Copy link
Member Author

This has all the code reviews needed then. @jinujoseph or @jcouv who wants to give M2 signoff?

@jasonmalinowski jasonmalinowski merged commit 313a3e0 into dotnet:master Jun 24, 2019
@jasonmalinowski jasonmalinowski deleted the change-compiler-editorconfig-settings branch June 24, 2019 17:24
tmeschter added a commit to tmeschter/roslyn-project-system that referenced this pull request Jun 25, 2019
Updates the terms used to refer to diagnostic severities to bring us in
line with the changes made in
dotnet/roslyn#36566.

"warn" -> "warning"
"info" -> "suggestion"
"suppress" -> "none"
mavasani added a commit to mavasani/roslyn that referenced this pull request Jun 26, 2019
…ed from master to release\dev16.3-preview1

Not sure why the unit test failures were not caught by the merge PR, as these tests are failing consistently in CI for PRs targeting release\dev16.3-preview1
mavasani added a commit that referenced this pull request Jun 26, 2019
Fix couple of unit tests that started failing after #36566 merged fro…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Different .editorconfig severity strings are used to specify IDE code style options and dotnet_diagnostic.severity

6 participants