ecs

eslint-config-stubhub

Linting config for StubHub

Showing:

Popularity

Downloads/wk

11

Maintenance

No Maintenance Data Available

Package

Dependencies

0

Size (min+gzip)

0.4KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

eslint-config-stubhub

Linting config for StubHub Unified

Based on StubHub Javascript Style Guide

Setup

  1. Install this package in your project directory
> npm install --save-dev eslint-config-stubhub gruntify-eslint eslint
  1. Create a .eslintrc.json in your root project directory with the following content
{
    "extends": ["stubhub"]
}
  1. Add the eslint Grunt task in your Gruntfile
grunt.loadNpmTasks('gruntify-eslint');
eslint: {
      src: ['./app/scripts/**/*.js']
}
grunt.registerTask('build', ['clean:dev', 'eslint', 'copy:imgDev', 'sass:dev', 'cssmin:dev', 'sh_precompile:dev', 'dustjs:dev', 'concat:dev', 'copy:dev', 'copy:devCommon', 'requirejs:dev']);

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100