1.0.1 • Published 9 years ago

eslint-config-stubhub v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
9 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

9 years ago

1.0.0

9 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago