Skip to content

Rantanen/Jubjubnest.Style.DotNet

Repository files navigation

Jubjubnest.Style.DotNet Build status codecov

.Net style checker for various style rules not covered by the built-in analyzers.

Downloads

The repository is automatically built on appveyor.

Following build artifacts are available:

master branch

Installation

The Visual Studio extension can be installed locally on the development machine while the nuget package can be pulled in using project references.

Alternatively you can download the nuget package manually and extract the dll from it. The analyzer can then be enabled per project by adding the following item group in the project file:

  <ItemGroup>
    <Analyzer Include="path\to\Jubjubnest.Style.DotNet.dll" />
  </ItemGroup>

The extension can be installed both locally and per project, but care should be taken to use the same version of the extension in both cases. Using two different versions may result in the style warnings being displayed multiple times.

Configuration

The style checks are configured in the <project>.ruleset file. The easiest way to configure the rules is to open the file in Visual Studio and use the visual editor to choose the rules. If the file doesn't exist, you can create it through the project properties or using a text editor with the following content:

<?xml version="1.0" encoding="utf-8">
<RuleSet Name="Style Rules" ToolsVersion="14.0" />

About

Collection of random style rules for .Net style.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published