Skip to content

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

License

Notifications You must be signed in to change notification settings

lsoft/FixRussianCAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published