1.0.1 • Published 8 years ago

eslint-config-stubhub v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

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']);
1.0.1

8 years ago

1.0.0

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago