Skip to content

Commit 076dd38

Browse files
committed
Removed csslint from test job
Because of CSSLint/csslint#720, we need to disable csslint. TL;DR: csslint doesn't support custom vars in CSS.
1 parent 0a8b064 commit 076dd38

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

Gruntfile.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ module.exports = function(grunt) {
77
grunt.initConfig({
88
// make node configurations available
99
pkg: grunt.file.readJSON('package.json'),
10-
csslint: {
11-
options: {
12-
csslintrc: '.csslintrc'
13-
},
14-
src: ['src/content/**/*.css', '!**/third_party/*.css' ]
15-
},
10+
// csslint: {
11+
// options: {
12+
// csslintrc: '.csslintrc'
13+
// },
14+
// src: ['src/content/**/*.css', '!**/third_party/*.css' ]
15+
// },
1616
eslint: {
1717
options: {
1818
configFile: '.eslintrc',
@@ -55,13 +55,13 @@ module.exports = function(grunt) {
5555

5656
// enable plugins
5757
grunt.loadNpmTasks('grunt-contrib-compress');
58-
grunt.loadNpmTasks('grunt-contrib-csslint');
58+
// grunt.loadNpmTasks('grunt-contrib-csslint');
5959
grunt.loadNpmTasks('grunt-eslint');
6060
grunt.loadNpmTasks('grunt-githooks');
6161
grunt.loadNpmTasks('grunt-htmlhint');
6262

6363
// set default tasks to run when grunt is called without parameters
64-
grunt.registerTask('default', ['csslint', 'htmlhint', 'eslint']);
64+
grunt.registerTask('default', ['htmlhint', 'eslint']);
6565
// also possible to call JavaScript directly in registerTask()
6666
// or to call external tasks with grunt.loadTasks()
6767
};

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"grunt": "^0.4.5",
2929
"grunt-cli": ">=0.1.9",
3030
"grunt-contrib-compress": "^0.13.0",
31-
"grunt-contrib-csslint": ">=0.3.1",
3231
"grunt-eslint": "^18.1.0",
3332
"grunt-githooks": "^0.3.1",
3433
"grunt-htmlhint": ">=0.9.12",

0 commit comments

Comments
 (0)