- Upgrade babel-eslint
- Ignore coverage
- Fix actual lint warning
This commit is contained in:
Paul O’Shannessy 2016-02-05 10:56:51 -08:00
parent 81e41ae1b1
commit a1dab9edbf
3 changed files with 3 additions and 2 deletions

View File

@ -11,5 +11,6 @@ docs/vendor/bundle/
examples/
# Ignore built files.
build/
coverage/
scripts/bench/bench-*.js
vendor/*

View File

@ -5,7 +5,7 @@
"devDependencies": {
"async": "^1.5.0",
"babel": "^5.8.29",
"babel-eslint": "4.1.5",
"babel-eslint": "4.1.8",
"browserify": "^12.0.1",
"bundle-collapser": "^1.1.1",
"coffee-script": "^1.8.0",

View File

@ -224,7 +224,7 @@ describe('ReactStatelessComponent', function() {
it('should allow simple functions to return false', function() {
function Child() {
return false;
};
}
expect(() => ReactTestUtils.renderIntoDocument(<Child />)).not.toThrow();
});