Browse Source

Add more rule exemptions and prevent blanket using recommendations

af/octree-no-pixelmap
James Jackson-South 6 years ago
parent
commit
2ba1b30cca
  1. 7
      .editorconfig
  2. 4
      .gitattributes
  3. 2
      shared-infrastructure

7
.editorconfig

@ -339,6 +339,7 @@ csharp_space_between_square_brackets = false
# warn when using var for built-in types,
# warn when using var when the type is not apparent, and
# warn when not using var when the type is apparent
# warn when using simplified "using" declaration
###############################################################################
[*.cs]
csharp_prefer_braces = true:silent
@ -367,6 +368,8 @@ csharp_style_throw_expression = true:suggestion
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
csharp_style_var_for_built_in_types = false:warning
csharp_style_var_elsewhere = false:warning
csharp_style_var_for_built_in_types = false:silent
csharp_style_var_when_type_is_apparent = true:warning
csharp_style_var_elsewhere = false:warning
csharp_prefer_simple_using_statement = false:silent

4
.gitattributes

@ -71,15 +71,17 @@
*.gif binary
*.jpg binary
*.ktx binary
*.otf binary
*.pbm binary
*.pdf binary
*.png binary
*.ppt binary
*.pptx binary
*.pvr binary
*.ttf binary
*.snk binary
*.tga binary
*.ttc binary
*.ttf binary
*.woff binary
*.woff2 binary
*.xls binary

2
shared-infrastructure

@ -1 +1 @@
Subproject commit 13b1152a9e93d1b67690e1e9325af248b7c2145d
Subproject commit a75469fdb93fb89b39a5b0b7c01cb7432ceef98f
Loading…
Cancel
Save