/* * Copyright (c) 2017 Jeremy Thomerson * Licensed under the MIT license. */ 'use strict'; module.exports = function(grunt) { var config; config = { js: { all: [ 'Gruntfile.js', 'src/**/*.js', 'tests/**/*.js' ], }, }; grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), eslint: { target: config.js.all, }, }); grunt.loadNpmTasks('grunt-eslint'); grunt.registerTask('standards', [ 'eslint' ]); grunt.registerTask('default', [ 'standards' ]); };