2017-01-29 23:51:08 +00:00
|
|
|
module.exports = function exports(grunt) {
|
|
|
|
'use strict';
|
2016-05-27 21:59:01 +00:00
|
|
|
|
2015-03-29 12:43:02 +00:00
|
|
|
grunt.config.merge({
|
|
|
|
checkDependencies: {
|
|
|
|
options: {
|
|
|
|
install: true
|
2017-01-16 16:39:17 +00:00
|
|
|
}
|
2015-03-29 12:43:02 +00:00
|
|
|
},
|
2016-05-26 23:34:42 +00:00
|
|
|
sasslint: {
|
|
|
|
options: {
|
2017-01-29 23:51:08 +00:00
|
|
|
configFile: '.sass-lint.yml'
|
2016-05-26 23:34:42 +00:00
|
|
|
},
|
2016-07-23 12:52:19 +00:00
|
|
|
target: ['scss/main.scss', 'scss/night.scss', 'scss/*/*.scss']
|
2016-05-26 23:34:42 +00:00
|
|
|
},
|
2015-03-29 12:43:02 +00:00
|
|
|
eslint: {
|
|
|
|
sources: {
|
2017-01-29 23:51:08 +00:00
|
|
|
src: ['app.js', '!Gruntfile.js', 'lib/**/*.js', 'tasks/**/*.js']
|
2015-03-29 12:43:02 +00:00
|
|
|
},
|
|
|
|
grunt: {
|
2017-01-29 23:51:08 +00:00
|
|
|
src: ['Gruntfile.js', 'tasks/*.js']
|
2015-03-29 12:43:02 +00:00
|
|
|
}
|
|
|
|
}
|
2016-05-22 11:23:43 +00:00
|
|
|
});
|
2015-03-29 12:43:02 +00:00
|
|
|
|
2016-05-26 23:34:42 +00:00
|
|
|
grunt.loadNpmTasks('grunt-sass-lint');
|
2017-01-29 23:51:08 +00:00
|
|
|
grunt.loadNpmTasks('grunt-eslint');
|
2016-05-22 11:23:43 +00:00
|
|
|
};
|