GianlucaGuarini/parallax

View on GitHub
tasks/eslint.js

Summary

Maintainability
A
0 mins
Test Coverage
var utils = require('./_utils')

module.exports = function(options) {

  options = utils.extend({
    // Folders containing the files we need to check
    folders: [
      'tasks',
      'src',
      'test'
    ]
  }, options)

  // Run eslint
  return utils.exec('./node_modules/.bin/eslint', options.folders)

}