Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ruyadorno committed Dec 19, 2016
1 parent b4c08eb commit 8b3cae5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "eslint-config-es5"
}

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"eslint_d": "^4.x.x"
},
"devDependencies": {
"eslint-config-airbnb": "^1.0.0"
"eslint-config-es5": "^0.5.0"
}
}
2 changes: 1 addition & 1 deletion test/fixtures/error-result
Original file line number Diff line number Diff line change
@@ -1 +1 @@
test/fixtures/error.js: line 2, col 2, Error - Parsing error: Unexpected token <
test/fixtures/error.js: line 2, col 1, Error - Parsing error: Unexpected token <
4 changes: 3 additions & 1 deletion test/fixtures/success.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
var foo = '';

function bar(a) {
return foo + a;
return foo + a;
}

bar('');

0 comments on commit 8b3cae5

Please sign in to comment.