0.0.6 • Published 9 years ago

grunt-stylecop-runner v0.0.6

Weekly downloads
8
License
-
Repository
github
Last release
9 years ago

Build Status Built with Grunt NPM version
Dependency Status devDependency Status
forthebadge

grunt-stylecop-runner

Getting started

$ npm install grunt-stylecop-runner --save-dev

Next add this line to your project's Gruntfile:

grunt.loadNpmTasks('grunt-stylecop-runner');

Configuration

You'll find the StyleCop.Console application here: https://github.com/Nylle/StyleCop.Console

Add this to your Grunt configuration:

stylecop: {
  options: {
    path: '/path/to/stylecop/StyleCop.Console.exe'
  },
  server: {
    options: {
      include: 'path-to-your-cs-files',
      settings: 'path-to-your-Settings.StyleCop-file'
    }
  }
}