eslint-config-stubhub

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i eslint-config-stubhub

Weekly Downloads

0

Version

1.0.1

License

ISC

Last publish

Collaborators

  • ooxenham