meshviewer/tasks/linting.js
Xaver Maierhofer cdecdd9ee7 [!!!][TASK] Refactor Scss, add Sass-lint and adjust styling
Add variables to allow easy modifications to color, font and also extending Style
2016-05-29 15:22:21 +02:00

36 lines
701 B
JavaScript

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