Skip to content

Commit

Permalink
Style: Suppress new() and using fixers in main library projects (#1330)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wraith2 authored Dec 20, 2021
1 parent c2e0bd1 commit d4f69fd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Microsoft.Data.SqlClient/netcore/src/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# editorconfig.org

# top-most EditorConfig file
root = false

[*.cs]

# IDE0090: Use 'new(...)'
csharp_style_implicit_object_creation_when_type_is_apparent = false

# IDE0063: Use simple 'using' statement
csharp_prefer_simple_using_statement = false
9 changes: 9 additions & 0 deletions src/Microsoft.Data.SqlClient/netfx/src/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# editorconfig.org

# top-most EditorConfig file
root = false

[*.cs]

# IDE0090: Use 'new(...)'
csharp_style_implicit_object_creation_when_type_is_apparent = false

0 comments on commit d4f69fd

Please sign in to comment.