Mews.Analyzers
1.3.0
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Mews.Analyzers --version 1.3.0
NuGet\Install-Package Mews.Analyzers -Version 1.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mews.Analyzers" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mews.Analyzers --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mews.Analyzers, 1.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Mews.Analyzers as a Cake Addin #addin nuget:?package=Mews.Analyzers&version=1.3.0 // Install Mews.Analyzers as a Cake Tool #tool nuget:?package=Mews.Analyzers&version=1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Mews.Analyzers
Prerequisites
In case 'Microsoft.CodeAnalysis' is not found during build, install 'Microsoft.Net.Compilers' v2.3.0
Rules checked
Usings
- Mews001: Unused using is not allowed.
- Mews002: Abbreviated using is not allowed.
- Mews003: Dto in using is not allowed.
- Mews004: Empty lines between usings are not allowed.
Code style
- Mews102: Indentation of 2 following lines can differ only by -4, 0 or 4 spaces. (skipping empty lines)
- Mews103: Line cannot start with an operator.
- Mews104: Do not use Multiline comments.
- Mews106: Comment has to start with a capital letter.
- Mews107: Comment has to end with a dot.
- Mews108: Comment can't contain 'TODO'.
Banned expressions
- Mews201: Switch is not allowed.
- Mews202: DateTime.Now is not allowed.
- Mews203: DateTime.UtcNow is not allowed.
- Mews204: Ternary operator is not allowed.
- Mews205: HasFlag is not allowed.
- Mews206: Object.Equals is not allowed.
- Mews207: == is not allowed.
- Mews208: != is not allowed.
- Mews209: String concatenation is not allowed.
- Mews210: String.Join() is not allowed.
- Mews211: String.Format() is not allowed.
- Mews212: String.Empty() is not allowed.
- Mews213: Parameter lists in object initializers are not allowed.
- Mews214: Linq query syntax is not allowed.
- Mews215: Parameterless Enumerable.Any() is not allowed.
- Mews216: Explicit variable declaration syntax is not allowed.
- Mews217: Symmetrical assignment is not allowed.
- Mews218: HasValue on nullables is not allowed.
- Mews219: Casting nullables to a non-nullable value type is not allowed.
- Mews220: Null conditional member access is not allowed. MapRef should be used instead.
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.0 | 74,930 | 8/31/2023 |
1.6.0 | 7,627 | 7/26/2023 |
1.5.1 | 811 | 7/26/2023 |
1.5.0 | 1,131 | 7/25/2023 |
1.4.1 | 113,548 | 4/12/2022 |
1.4.0 | 8,079 | 3/11/2022 |
1.3.9 | 98,860 | 11/13/2020 |
1.3.8 | 29,442 | 4/28/2020 |
1.3.7 | 21,474 | 2/27/2020 |
1.3.6 | 16,238 | 12/5/2019 |
1.3.5 | 3,693 | 11/20/2019 |
1.3.4 | 3,199 | 11/11/2019 |
1.3.3 | 1,306 | 11/8/2019 |
1.3.2 | 3,795 | 10/25/2019 |
1.3.1 | 3,602 | 10/7/2019 |
1.3.0 | 7,479 | 8/26/2019 |
1.2.6 | 1,348 | 6/21/2019 |
1.2.5 | 1,269 | 6/20/2019 |
1.2.4 | 1,496 | 4/8/2019 |
1.2.3 | 1,408 | 4/3/2019 |
1.2.2 | 9,690 | 3/7/2019 |
1.2.1 | 1,839 | 6/11/2018 |
Find unused usings in code