GitXplorerGitXplorer
l

FixRussianCAnalyzer

public
1 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
8f40603dd842bf1f6ee26d4030b73e47a287d7ab

norefs update README.md

llsoft committed 2 years ago
Unverified
532cdbe7c461f1a29a24fe0d11490566cdc60b87

norefs Fixed bug.

llsoft committed 2 years ago
Unverified
32400be1c3d1652fd2f51712f9ca1fef98e49e35

norefs Initial commit.

llsoft committed 2 years ago
Verified
4f9356826ca6511d5f7d9ee1b622ec6f02879481

Initial commit

llsoft committed 2 years ago

README

The README file for this repository.

FixRussian letter C Analyzer

This is an analyzer and codefixer for Russian letter C in English word and vice versa.

An appropriate nuget can be found here

Enable this analyzer solution-wide

Insert to your Directory.Build.props the following:

  <PropertyGroup>    
    <WarningsAsErrors>RussianC;EnglishC</WarningsAsErrors>
  </PropertyGroup>

...

  <!-- анализатор некорректного использования букв C/С -->
  <ItemGroup Condition="'$(MSBuildProjectExtension)'=='.csproj'">
    <PackageReference Include="FixRussianCAnalyzer" Version="0.2.0">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
  </ItemGroup>

If you need to disable this analyzer in concrete file\lines you may add #pragma warning disable RussianC or #pragma warning disable EnglishC to the appropriate place.