grunt-contrib-csslint
Advanced tools
Comparing version 0.5.0 to 1.0.0
{ | ||
"name": "grunt-contrib-csslint", | ||
"description": "Lint CSS files", | ||
"version": "0.5.0", | ||
"version": "1.0.0", | ||
"author": { | ||
@@ -14,2 +14,3 @@ "name": "Grunt Team", | ||
}, | ||
"main": "tasks/csslint.js", | ||
"scripts": { | ||
@@ -21,16 +22,13 @@ "test": "grunt test --force" | ||
"csslint": "^0.10.0", | ||
"lodash": "^3.3.0", | ||
"lodash": "^3.8.0", | ||
"strip-json-comments": "^1.0.2" | ||
}, | ||
"devDependencies": { | ||
"grunt": "^0.4.0", | ||
"grunt": "^0.4.5", | ||
"grunt-cli": "^0.1.13", | ||
"grunt-contrib-clean": "^0.6.0", | ||
"grunt-contrib-internal": "^0.4.2", | ||
"grunt-contrib-jshint": "^0.11.0", | ||
"grunt-contrib-internal": "^0.4.12", | ||
"grunt-contrib-jshint": "^0.11.2", | ||
"grunt-contrib-nodeunit": "^0.4.1" | ||
}, | ||
"peerDependencies": { | ||
"grunt": ">=0.4.0" | ||
}, | ||
"keywords": [ | ||
@@ -43,5 +41,4 @@ "gruntplugin", | ||
"files": [ | ||
"tasks", | ||
"LICENSE-MIT" | ||
"tasks" | ||
] | ||
} |
@@ -1,2 +0,2 @@ | ||
# grunt-contrib-csslint v0.5.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-csslint.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-csslint) | ||
# grunt-contrib-csslint v1.0.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-csslint.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-csslint) | ||
@@ -8,3 +8,2 @@ > Lint CSS files | ||
## Getting Started | ||
This plugin requires Grunt `>=0.4.0` | ||
@@ -134,2 +133,9 @@ If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command: | ||
#### quiet_all | ||
Type: `boolean` | ||
Default: `false` | ||
Outputs without errors and warnings. | ||
### Usage Examples | ||
@@ -232,2 +238,3 @@ | ||
* 2016-03-04 v1.0.0 Point main to task and remove peerDeps. Updates to docs. | ||
* 2015-07-18 v0.5.0 Add ability to register custom formatters. | ||
@@ -246,2 +253,2 @@ * 2015-01-18 v0.4.0 The `.csslintrc` file can now contain comments. | ||
*This file was generated on Sat Jul 18 2015 22:58:12.* | ||
*This file was generated on Fri Mar 04 2016 16:53:29.* |
@@ -5,3 +5,3 @@ /* | ||
* | ||
* Copyright (c) 2015 Tim Branyen, contributors | ||
* Copyright (c) 2016 Tim Branyen, contributors | ||
* Licensed under the MIT license. | ||
@@ -77,3 +77,3 @@ */ | ||
var offenderMessage; | ||
if (typeof message.line !== 'undefined') { | ||
if (_.isUndefined(message.line)) { | ||
offenderMessage = | ||
@@ -87,3 +87,3 @@ chalk.yellow('L' + message.line) + | ||
if (!options.quiet || options.quiet && message.type === 'error') { | ||
if (!options.quiet && !options.quiet_all || options.quiet && message.type === 'error' && !options.quiet_all) { | ||
grunt.log.writeln(chalk.red('[') + offenderMessage + chalk.red(']')); | ||
@@ -115,3 +115,3 @@ grunt.log[ message.type === 'error' ? 'error' : 'writeln' ]( | ||
if (formatterId && formatterDefinition.dest) { | ||
if (!csslint.hasFormat(formatterId) && typeof formatterId === 'object' ) { // A custom formatter was supplied | ||
if (!csslint.hasFormat(formatterId) && _.isObject(formatterId)) { // A custom formatter was supplied | ||
csslint.addFormatter(formatterId); | ||
@@ -118,0 +118,0 @@ |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4
0
251
14324
4
- Removedabbrev@1.1.1(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedargparse@1.0.10(transitive)
- Removedarray-each@1.0.1(transitive)
- Removedarray-slice@1.1.0(transitive)
- Removedasync@3.2.5(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbraces@3.0.3(transitive)
- Removedchalk@4.1.2(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedcolors@1.1.2(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removeddateformat@4.6.3(transitive)
- Removeddetect-file@1.0.0(transitive)
- Removedesprima@4.0.1(transitive)
- Removedeventemitter2@0.4.14(transitive)
- Removedexit@0.1.2(transitive)
- Removedexpand-tilde@2.0.2(transitive)
- Removedextend@3.0.2(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedfindup-sync@4.0.05.0.0(transitive)
- Removedfined@1.2.0(transitive)
- Removedflagged-respawn@1.0.1(transitive)
- Removedfor-in@1.0.2(transitive)
- Removedfor-own@1.0.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedgetobject@1.0.2(transitive)
- Removedglob@7.1.7(transitive)
- Removedglobal-modules@1.0.0(transitive)
- Removedglobal-prefix@1.0.2(transitive)
- Removedgrunt@1.6.1(transitive)
- Removedgrunt-cli@1.4.3(transitive)
- Removedgrunt-known-options@2.0.0(transitive)
- Removedgrunt-legacy-log@3.0.0(transitive)
- Removedgrunt-legacy-log-utils@2.1.0(transitive)
- Removedgrunt-legacy-util@2.0.1(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhomedir-polyfill@1.0.3(transitive)
- Removedhooker@0.2.3(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedini@1.3.8(transitive)
- Removedinterpret@1.1.0(transitive)
- Removedis-absolute@1.0.0(transitive)
- Removedis-core-module@2.13.1(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-glob@4.0.3(transitive)
- Removedis-number@7.0.0(transitive)
- Removedis-plain-object@2.0.4(transitive)
- Removedis-relative@1.0.0(transitive)
- Removedis-unc-path@1.0.0(transitive)
- Removedis-windows@1.0.2(transitive)
- Removedisexe@2.0.0(transitive)
- Removedisobject@3.0.1(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removedkind-of@6.0.3(transitive)
- Removedliftup@3.0.1(transitive)
- Removedlodash@4.17.21(transitive)
- Removedmake-iterator@1.0.1(transitive)
- Removedmap-cache@0.2.2(transitive)
- Removedmicromatch@4.0.7(transitive)
- Removedminimatch@3.0.8(transitive)
- Removednopt@3.0.64.0.3(transitive)
- Removedobject.defaults@1.1.0(transitive)
- Removedobject.map@1.0.1(transitive)
- Removedobject.pick@1.3.0(transitive)
- Removedonce@1.4.0(transitive)
- Removedos-homedir@1.0.2(transitive)
- Removedos-tmpdir@1.0.2(transitive)
- Removedosenv@0.1.5(transitive)
- Removedparse-filepath@1.0.2(transitive)
- Removedparse-passwd@1.0.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpath-root@0.1.1(transitive)
- Removedpath-root-regex@0.1.2(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedrechoir@0.7.1(transitive)
- Removedresolve@1.22.8(transitive)
- Removedresolve-dir@1.0.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsprintf-js@1.0.31.1.3(transitive)
- Removedsupports-color@7.2.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedunc-path-regex@0.1.2(transitive)
- Removedunderscore.string@3.3.6(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedv8flags@3.2.0(transitive)
- Removedwhich@1.3.12.0.2(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedlodash@^3.8.0