Fix lint
- Upgrade babel-eslint - Ignore coverage - Fix actual lint warning
This commit is contained in:
parent
81e41ae1b1
commit
a1dab9edbf
|
@ -11,5 +11,6 @@ docs/vendor/bundle/
|
|||
examples/
|
||||
# Ignore built files.
|
||||
build/
|
||||
coverage/
|
||||
scripts/bench/bench-*.js
|
||||
vendor/*
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue