Less linting.
This commit is contained in:
parent
542bce0ab6
commit
cc94ec1ca6
@ -112,7 +112,7 @@ module.exports = function(grunt) {
|
||||
// ECMAScript
|
||||
'newer:eslint:frontend',
|
||||
// CSS
|
||||
'newer:csslint:frontend',
|
||||
'newer:lesslint:frontend',
|
||||
// HTML.
|
||||
'newer:htmllint'
|
||||
]);
|
||||
|
@ -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
7
grunt-config/lesslint.js
Normal file
@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
frontend: {
|
||||
src: ['<%= accountant.frontend.src %>/css/*.less']
|
||||
}
|
||||
};
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user