Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/grunt-bootlint.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2018-12-28 18:57:32 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-12-28 19:11:43 +0300
commit55b674ecb5366ea52dd9fca9f302d204b275a3c3 (patch)
tree93ed719c72852ecca189286e4cc0f794c7a144a9 /Gruntfile.js
parentaefcb563306e99aa032464f6be6bc32e9656761d (diff)
Switch to ESLint.
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 48ac214..25800fa 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -11,14 +11,14 @@
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
- jshint: {
+ eslint: {
all: [
'Gruntfile.js',
'tasks/*.js',
'<%= nodeunit.tests %>'
],
options: {
- jshintrc: '.jshintrc'
+ configFile: '.eslintrc.json'
}
},
@@ -125,13 +125,13 @@ module.exports = function(grunt) {
grunt.loadTasks('tasks');
// These plugins provide necessary tasks.
- grunt.loadNpmTasks('grunt-contrib-jshint');
+ grunt.loadNpmTasks('grunt-eslint');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-nodeunit');
// Whenever the "test" task is run, first clean the "tmp" dir, then lint,
// then test the result.
- grunt.registerTask('test', ['clean', 'jshint', 'nodeunit']);
+ grunt.registerTask('test', ['clean', 'eslint', 'nodeunit']);
// By default, run all tests.
grunt.registerTask('default', 'test');