mirror of
https://github.com/iv-org/videojs-quality-selector.git
synced 2024-10-01 10:35:49 +00:00
34 lines
540 B
JavaScript
34 lines
540 B
JavaScript
/*
|
|
* 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' ]);
|
|
|
|
};
|