UNPKG

gpii-testem

Version:

A library to assist in using Testem within the Fluid ecosystem.

18 lines (15 loc) 521 B
/* global module */ module.exports = function (grunt) { "use strict"; grunt.initConfig({ eslint: { src: ["./src/**/*.js", "./tests/**/*.js", "./*.js", "!./tests/testem-fixtures/instrumented/**/*.js"] }, jsonlint: { src: ["src/**/*.json", "tests/**/*.json", "./*.json"] } }); grunt.loadNpmTasks("fluid-grunt-eslint"); grunt.loadNpmTasks("grunt-jsonlint"); grunt.registerTask("lint", "Apply jshint and jsonlint", ["eslint", "jsonlint"]); };