Skip to content

Commit

Permalink
upgrade to ESLint v3.9.1
Browse files Browse the repository at this point in the history
* eslint/eslint@56a662b
* new `codeframe` formatter
  • Loading branch information
shinnn committed Nov 9, 2016
1 parent 9df07fd commit 2e4a2df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -5,7 +5,7 @@
"repository": "shinnn/array-find-predecessor",
"author": "Shinnosuke Watanabe (https://github.com/shinnn)",
"scripts": {
"prebuild": "eslint --fix module.js test.js",
"prebuild": "eslint --fix --format=codeframe module.js test.js",
"build": "rollup --config=node:module",
"pretest": "npm run-script build",
"test": "istanbul cover test.js"
Expand All @@ -31,8 +31,8 @@
"sub-index": "^1.0.0"
},
"devDependencies": {
"@shinnn/eslint-config": "^3.3.0",
"eslint": "^3.7.1",
"@shinnn/eslint-config": "^3.3.2",
"eslint": "^3.9.1",
"istanbul": "^0.4.5",
"rollup": "^0.36.3",
"rollup-config-module": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test.js
Expand Up @@ -36,7 +36,7 @@ test('arrayFindSuccessor()', t => {

t.throws(
() => arrayFindSuccessor([], 0),
/^Error.*Expected a non-empty array, but got \[\]\./,
/^Error.*Expected a non-empty array, but got \[]\./,
'should throw an error when the first argument is an empty array.'
);

Expand Down

0 comments on commit 2e4a2df

Please sign in to comment.