grunt-airtight-css
Advanced tools
Comparing version 0.0.1 to 0.1.0
{ | ||
"name": "grunt-airtight-css", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "Grunt task to check CSS naming for Airtight rules", | ||
@@ -12,4 +12,4 @@ "author": "Nick Matantsev <nick.matantsev@gmail.com>", | ||
"dependencies": { | ||
"airtight-css-lint": "0.0.0" | ||
"airtight-css-lint": "~0.1.0" | ||
} | ||
} |
@@ -17,3 +17,2 @@ /* | ||
var css = fs.readFileSync(file, 'utf8'); | ||
var ignoreErrors = /\/\*\s*grunt-airtightcss-ignore-file\s*\*\//.test(css); | ||
@@ -23,8 +22,4 @@ airtightCssLint(css, function (line, column, msg) { | ||
if (!ignoreErrors) { | ||
grunt.log.error(logMessage); | ||
hasErrors = true; | ||
} else { | ||
grunt.log.writeln('IGNORED ' + logMessage); | ||
} | ||
grunt.log.error(logMessage); | ||
hasErrors = true; | ||
}); | ||
@@ -31,0 +26,0 @@ }); |
1226
24
+ Addedairtight-css-lint@0.1.0(transitive)
- Removedairtight-css-lint@0.0.0(transitive)
Updatedairtight-css-lint@~0.1.0