forked from DotNetAnalyzers/AsyncUsageAnalyzers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added initial LICENSE, README.md, and CONTRIBUTING.md
- Loading branch information
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Contributing | ||
|
||
1. To start working on a diagnostic, add a comment to the issue indicating you are working on implementing it. | ||
|
||
2. Add a new issue for a code fix for the diagnostic. For example, I added DotNetAnalyzers/StyleCopAnalyzers#171 when I | ||
worked on DotNetAnalyzers/StyleCopAnalyzers#6. Even if no code fix is possible, the issue is a place for discussions | ||
regarding possible corrections. Code fixes may, but do not have to be implemented alongside the diagnostic. | ||
|
||
3. If a diagnostic or code fix is submitted without tests, it might be rejected. However, it may be accepted provided | ||
all of the following are true: | ||
|
||
1. The code is disabled by default, by passing `AnalyzerConstants.DisabledNoTests` for the `isEnabledByDefault` | ||
parameter when creating the `DiagnosticDescriptor`. It will be enabled by default only after tests are in place. | ||
2. A new issue was created for implementing tests for the item (e.g. DotNetAnalyzers/StyleCopAnalyzers#176). | ||
3. Evidence was given that the feature is currently operational, and the code appears to be a solid starting point | ||
for other contributors to continue the implementation effort. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Copyright (c) Tunnel Vision Laboratories, LLC. All rights reserved. | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
these files except in compliance with the License. You may obtain a copy of the | ||
License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software distributed | ||
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | ||
CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations under the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Async Usage Analyzers for the .NET Compiler Platform | ||
|
||
This repository contains analyzers for best practices related to asynchronous programming. Where possible, code fixes are also provided to simplify the process of correcting violations. |