stylelint-formatter-pretty
Advanced tools
Comparing version
@@ -28,3 +28,3 @@ 'use strict'; | ||
.sort((a, b) => a.text === b.text) | ||
.filter((item, idx, arr) => arr.findIndex(d => d.text === item.text) === idx); | ||
.filter((item, idx, array) => array.findIndex(d => d.text === item.text) === idx); | ||
items.forEach(x => cleanItems.push({ | ||
@@ -31,0 +31,0 @@ text: x.text.replace(/\B"(.*?)"\B|\B'(.*?)'\B/g, (m, p1, p2) => chalk.bold(p1 || p2)) |
{ | ||
"name": "stylelint-formatter-pretty", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A pretty Stylelint formatter.", | ||
@@ -34,4 +34,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"ansi-escapes": "^4.3.0", | ||
"chalk": "^3.0.0", | ||
"ansi-escapes": "^4.3.1", | ||
"chalk": "^4.0.0", | ||
"log-symbols": "^3.0.0", | ||
@@ -42,7 +42,7 @@ "plur": "^4.0.0", | ||
"devDependencies": { | ||
"ava": "^3.3.0", | ||
"coveralls": "^3.0.9", | ||
"nyc": "^15.0.0", | ||
"ava": "^3.7.0", | ||
"coveralls": "^3.0.11", | ||
"nyc": "^15.0.1", | ||
"strip-ansi": "^6.0.0", | ||
"xo": "^0.26.1" | ||
"xo": "^0.29.1" | ||
}, | ||
@@ -49,0 +49,0 @@ "xo": { |
@@ -9,6 +9,6 @@ # stylelint-formatter-pretty | ||
[](https://coveralls.io/github/Dreamseer/stylelint-formatter-pretty?branch=master) | ||
 | ||
[](https://packagephobia.now.sh/result?p=stylelint-formatter-pretty) | ||
[](https://github.com/sindresorhus/xo) | ||
[](https://github.com/Dreamseer/stylelint-formatter-pretty/blob/master/LICENSE.md) | ||
[](https://greenkeeper.io/) | ||
@@ -15,0 +15,0 @@  |
11453
0.12%+ Added
- Removed
Updated
Updated