Skip to content

Commit

Permalink
Chore: Upgrade development dependencies (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephfrazier authored and not-an-aardvark committed May 4, 2017
1 parent da6aad1 commit 12984ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions lib/rules/prettier.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ module.exports = {

if (sourceCode.text !== desiredText) {
// Find the first character that differs
const firstBadIndex = Array.from(desiredText)
.findIndex((char, index) => char !== sourceCode.text[index]);
const firstBadIndex = Array.from(desiredText).findIndex(
(char, index) => char !== sourceCode.text[index]
);
const expectedChar = firstBadIndex === -1
? 'EOF'
: desiredText[firstBadIndex];
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"eslint": "^3.14.1",
"eslint-config-not-an-aardvark": "^2.0.0",
"eslint-config-prettier": "^1.3.0",
"eslint-plugin-eslint-plugin": "^0.2.1",
"eslint-plugin-node": "^3.0.5",
"eslint-plugin-eslint-plugin": "^0.7.1",
"eslint-plugin-node": "^4.2.2",
"mocha": "^3.1.2",
"prettier": "^0.18.0"
"prettier": "^1.3.1"
},
"engines": {
"node": ">=4.0.0"
Expand Down

0 comments on commit 12984ea

Please sign in to comment.