Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
chore(package): update eslint-config-babel to version 6.0.0 (#433)
Browse files Browse the repository at this point in the history
* chore(package): update eslint-config-babel to version 6.0.0

Closes #432

https://greenkeeper.io/

* Fix linting
  • Loading branch information
hzoo authored and danez committed Jan 15, 2017
1 parent 781dc77 commit 0e5aca3
Show file tree
Hide file tree
Showing 5 changed files with 1,017 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,3 +1,2 @@
node_modules
npm-debug.log
yarn.lock
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -40,7 +40,7 @@
"devDependencies": {
"babel-eslint": "^7.0.0",
"eslint": "^3.9.1",
"eslint-config-babel": "^4.0.0",
"eslint-config-babel": "^6.0.0",
"eslint-plugin-babel": "^4.0.0",
"eslint-plugin-flowtype": "^2.4.0",
"espree": "^3.3.1",
Expand Down
4 changes: 2 additions & 2 deletions test/babel-eslint.js
Expand Up @@ -73,9 +73,9 @@ function parseAndAssertSame(code) {
}
err.message += unpad(`
espree:
${util.inspect(lookup(esAST, traversal, 2), {depth: err.depth, colors: true})}
${util.inspect(lookup(esAST, traversal, 2), { depth: err.depth, colors: true })}
babel-eslint:
${util.inspect(lookup(babylonAST, traversal, 2), {depth: err.depth, colors: true})}
${util.inspect(lookup(babylonAST, traversal, 2), { depth: err.depth, colors: true })}
`);
throw err;
}
Expand Down
2 changes: 1 addition & 1 deletion test/non-regression.js
Expand Up @@ -1359,7 +1359,7 @@ describe("verify", () => {
set a (v) { }
}
`),
{ "space-before-function-paren": 1, "keyword-spacing": [1, {"before": true}], "indent": 1 },
{ "space-before-function-paren": 1, "keyword-spacing": [1, { "before": true }], "indent": 1 },
[]
);
});
Expand Down

0 comments on commit 0e5aca3

Please sign in to comment.