Skip to content

Commit

Permalink
Normalize eslint with eslint-config-cssnano shared config
Browse files Browse the repository at this point in the history
Closes #5, closes #3 and closes #7.
  • Loading branch information
ntwb authored and ben-eb committed Mar 4, 2016
1 parent 75c1caa commit 573e085
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 76 deletions.
74 changes: 0 additions & 74 deletions .eslintrc

This file was deleted.

6 changes: 5 additions & 1 deletion package.json
Expand Up @@ -32,7 +32,8 @@
"babel-preset-stage-0": "^6.3.13",
"coveralls": "^2.11.6",
"del-cli": "^0.2.0",
"eslint": "^1.10.3",
"eslint": "^2.1.0",
"eslint-config-cssnano": "^2.0.0",
"nyc": "^6.0.0"
},
"homepage": "https://github.com/postcss/postcss-devtools",
Expand All @@ -53,5 +54,8 @@
},
"ava": {
"require": "babel-core/register"
},
"eslintConfig": {
"extends": "cssnano"
}
}
2 changes: 1 addition & 1 deletion src/__tests__/index.js
Expand Up @@ -14,7 +14,7 @@ let backgroundify = postcss.plugin('backgroundify', () => {
let redify = postcss.plugin('redify', () => {
return css => {
return new Promise(resolve => {
setTimeout(function () {
setTimeout(() => {
css.walkDecls(decl => decl.value = 'red');
return resolve();
}, 50);
Expand Down

0 comments on commit 573e085

Please sign in to comment.