Giter Site home page Giter Site logo

gu.analyzers's Introduction

Gu.Analyzers

License NuGet Build status Join the chat at https://gitter.im/JohanLarsson/Gu.Analyzers

GU0001 Name the arguments.
GU0002 The position of a named argument should match.
GU0003 Name the parameters to match the assigned members.
GU0004 Assign all readonly members.
GU0005 Use correct argument positions.
GU0006 Use nameof.
GU0007 Prefer injecting.
GU0008 Avoid relay properties.
GU0009 Name the boolean parameter.
GU0010 Assigning same value.
GU0011 Don't ignore the returnvalue.
GU0020 Sort properties.
GU0021 Calculated property allocates reference type.
GU0022 Use get-only.
GU0050 Ignore events when serializing.
GU0051 Cache the XmlSerializer.
GU0060 Enum member value conflict.

Using Gu.Analyzers

The preferable way to use the analyzers is to add the nuget package Gu.Analyzers to the project(s).

The severity of individual rules may be configured using rule set files in Visual Studio 2015.

Installation

Gu.Analyzers can be installed using Paket or the NuGet command line or the NuGet Package Manager in Visual Studio 2015.

Install using the command line:

Install-Package Gu.Analyzers

Updating

The ruleset editor does not handle changes IDs well, if things get out of sync you can try:

  1. Close visual studio.
  2. Edit the ProjectName.rulset file and remove the Gu.Analyzers element.
  3. Start visual studio and add back the desired configuration.

Above is not ideal, sorry about this. Not sure this is our bug.

Current status

Early alpha, names and IDs may change.

gu.analyzers's People

Contributors

gitter-badger avatar hosch250 avatar johanlarsson avatar nesterenko-kv avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.