meshviewer/tasks/linting.js
Xaver Maierhofer 5600832305
[TASK] Move to es5 eslint airbnb
Step forward to es6 airbnb
2017-01-30 00:51:12 +01:00

29 lines
592 B
JavaScript

module.exports = function exports(grunt) {
'use strict';
grunt.config.merge({
checkDependencies: {
options: {
install: true
}
},
sasslint: {
options: {
configFile: '.sass-lint.yml'
},
target: ['scss/main.scss', 'scss/night.scss', 'scss/*/*.scss']
},
eslint: {
sources: {
src: ['app.js', '!Gruntfile.js', 'lib/**/*.js', 'tasks/**/*.js']
},
grunt: {
src: ['Gruntfile.js', 'tasks/*.js']
}
}
});
grunt.loadNpmTasks('grunt-sass-lint');
grunt.loadNpmTasks('grunt-eslint');
};