Skip to content

🚧Add rule to solution editorconfig #168

@CalvinWilkinson

Description

@CalvinWilkinson

Complete The Item Below

  • I have updated the title without removing the 🚧 emoji.

Description

Add a new rule to the solution-wide .editorconfig file to ignore warnings and suggestions for outside using statement placement.

Here is the rule to add:

# IDE0065: Misplaced using directive
csharp_using_directive_placement = inside_namespace

Note There are two .editorconfig files in this solution. One is in the root of the repo and it is the root config file. The other is in the Testing/ directory and are additional rules for the unit tests projects. The unit testing config file inherits the rules from the solution level config file.

Note This will remove any warnings in Visual Studio about moving the using statements outside of the namespaces. JetBrains Rider users should not get this warning.

Acceptance Criteria

Note The tasks below need to be done in the order below.

### Tasks
- [x] The solution level config updated
- [x] The testing level config updated

ToDo Items

  • Change type labels added to this issue. Refer to the Change Type Labels section below.
  • Priority label added to this issue. Refer to the Priority Type Labels section below.
  • Issue linked to the correct project (if applicable).
  • Issue linked to the correct milestone (if applicable).
  • Draft pull request created and linked to this issue (only required with code changes).

Issue Dependencies

No response

Related Work

No response

Additional Information:

Change Type Labels

Change Type Label
Bug Fixes 🐛bug
Breaking Changes 🧨breaking changes
New Feature ✨new feature
CICD Changes ♻️cicd
Code Doc Changes 🗒️documentation/code
Product Doc Changes 📝documentation/product

Priority Type Labels

Priority Type Label
Low Priority low priority
Medium Priority medium priority
High Priority high priority

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Metadata

Metadata

Assignees

Labels

documentation-productProduct documentation external to source code. Doc websitegood-first-issueGood for newcomerspreviewDone while in preview

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions