diff --git a/Gruntfile.js b/Gruntfile.js index 251008a..a5ab4ae 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -112,7 +112,7 @@ module.exports = function(grunt) { // ECMAScript 'newer:eslint:frontend', // CSS - 'newer:csslint:frontend', + 'newer:lesslint:frontend', // HTML. 'newer:htmllint' ]); diff --git a/grunt-config/csslint.js b/grunt-config/csslint.js deleted file mode 100644 index aea1692..0000000 --- a/grunt-config/csslint.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -module.exports = { - frontend: { - options: { - import: 2 - }, - src: ['<%= accountant.frontend.src %>/css/*.css'] - } -}; diff --git a/grunt-config/lesslint.js b/grunt-config/lesslint.js new file mode 100644 index 0000000..59a08da --- /dev/null +++ b/grunt-config/lesslint.js @@ -0,0 +1,7 @@ +'use strict'; + +module.exports = { + frontend: { + src: ['<%= accountant.frontend.src %>/css/*.less'] + } +}; diff --git a/package.json b/package.json index 456a8bb..979a075 100644 --- a/package.json +++ b/package.json @@ -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",