Less linting.

This commit is contained in:
Alexis Lahouze 2016-10-15 21:49:47 +02:00
parent 542bce0ab6
commit cc94ec1ca6
4 changed files with 9 additions and 11 deletions

View File

@ -112,7 +112,7 @@ module.exports = function(grunt) {
// ECMAScript
'newer:eslint:frontend',
// CSS
'newer:csslint:frontend',
'newer:lesslint:frontend',
// HTML.
'newer:htmllint'
]);

View File

@ -1,10 +0,0 @@
'use strict';
module.exports = {
frontend: {
options: {
import: 2
},
src: ['<%= accountant.frontend.src %>/css/*.css']
}
};

7
grunt-config/lesslint.js Normal file
View File

@ -0,0 +1,7 @@
'use strict';
module.exports = {
frontend: {
src: ['<%= accountant.frontend.src %>/css/*.less']
}
};

View File

@ -32,6 +32,7 @@
"grunt-htmllint": "^0.2.7",
"grunt-include-source": "~1.0",
"grunt-jsonlint": "^1.1.0",
"grunt-lesslint": "^3.2.0",
"grunt-newer": "~1.1",
"grunt-ng-annotate": "~2.0",
"grunt-shell": "~2.0",