Skip to content
Browse files

Fix lint

- Upgrade babel-eslint
- Ignore coverage
- Fix actual lint warning
  • Loading branch information...
1 parent 81e41ae commit a1dab9edbf6256640cf89a992d432d3a4dae5fbe @zpao zpao committed
Showing with 3 additions and 2 deletions.
  1. +1 −0 .eslintignore
  2. +1 −1 package.json
  3. +1 −1 src/renderers/shared/reconciler/__tests__/ReactStatelessComponent-test.js
View
1 .eslintignore
@@ -11,5 +11,6 @@ docs/vendor/bundle/
examples/
# Ignore built files.
build/
+coverage/
scripts/bench/bench-*.js
vendor/*
View
2 package.json
@@ -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
2 src/renderers/shared/reconciler/__tests__/ReactStatelessComponent-test.js
@@ -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();
});

0 comments on commit a1dab9e

Please sign in to comment.
Something went wrong with that request. Please try again.