Skip to content

Commit

Permalink
Update lint tools, fix config, eslint --fix .
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Apr 15, 2018
1 parent a63fe61 commit f7a7176
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ module.exports = {
],
env: {
es6: false
},
parserOptions: null
}
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
},
"devDependencies": {
"coveralls": "^2.11.4",
"eslint": "^2.13.1",
"eslint-config-onelint": "^1.2.0",
"eslint": "^4.19.1",
"eslint-config-onelint": "^3.0.0",
"istanbul": "^0.3.22",
"mocha": "^2.3.3",
"unexpected": "^10.0.1"
Expand Down
4 changes: 2 additions & 2 deletions test/unexpected-function-equality.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ it('should provide a string diff of the pretty-printed functions when they actua
return 123;
});
}, 'to throw',
'expected function (a) { return 1234; } to equal function (a) { return 123; }\n' +
'expected function (a) { return 1234; } to equal function (a) { return 123; }\n' +
'\n' +
' function (a) {\n' +
'- return 1234;\n' +
Expand All @@ -27,7 +27,7 @@ it('should consider functions with different names to be different', function ()
expect(function () {
expect(function a() {}, 'to equal', function b() {});
}, 'to throw',
'expected function a() {} to equal function b() {}\n' +
'expected function a() {} to equal function b() {}\n' +
'\n' +
'-function a() {\n' +
'+function b() {\n' +
Expand Down

0 comments on commit f7a7176

Please sign in to comment.