Unclaimed Package Is this your package? Claim it to unlock full analytics and manage your listing.
Claim This Package

Install via UPM

Add to Unity Package Manager using this URL

https://www.pkglnk.dev/tertle-analyzers.git

README Markdown

Copy this to your project's README.md

Style
Preview
pkglnk installs badge
## Installation

Add **BovineLabs Analyzers** to your Unity project via Package Manager:

1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/tertle-analyzers.git
```

[![pkglnk](https://www.pkglnk.dev/badge/tertle-analyzers.svg?style=pkglnk)](https://www.pkglnk.dev/pkg/tertle-analyzers)

README

com.bovinelabs.analyzers

A package to easily add Roslyn Analyzers to Unity projects.

Install

Add the package to your manifest.json file located under the Packages folder.

  "dependencies": {
    "com.bovinelabs.analyzers": "https://github.com/tertle/com.bovinelabs.analyzers.git",

Alternatively download into the Packages/com.bovinelabs.analyzers folder. Please note importing to a directory outside of the Packages folder is not supported.

Using

A simple UI interface is available at Windows/BovineLabs/Analyzers. This allows you change the target directory for the analyzers.

An option to import StyleCop (with a few custom rules for Unity) is available for use or as a test. If working, you should see your analyzers in your project references, under for example, References/Analyzers/StyleCop.Analyzers

Requirements

  • Unity 2018.3.0f2 onwards.
  • Visual Studios or Rider

Unfortunately as far as I can tell, other code editors such as Visual Studio Code do not support Roslyn Analyzers at this point. If I am mistaken please point me in the right direction and I'll see if there is anyway to support it.

Note, adding the package should not cause any issues to other team members who do use an unsupported IDE.

Comments

No comments yet. Be the first!