Skip to content

Commit a1dab9e

Browse files
committed
Fix lint
- Upgrade babel-eslint - Ignore coverage - Fix actual lint warning
1 parent 81e41ae commit a1dab9e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ docs/vendor/bundle/
1111
examples/
1212
# Ignore built files.
1313
build/
14+
coverage/
1415
scripts/bench/bench-*.js
1516
vendor/*

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"devDependencies": {
66
"async": "^1.5.0",
77
"babel": "^5.8.29",
8-
"babel-eslint": "4.1.5",
8+
"babel-eslint": "4.1.8",
99
"browserify": "^12.0.1",
1010
"bundle-collapser": "^1.1.1",
1111
"coffee-script": "^1.8.0",

src/renderers/shared/reconciler/__tests__/ReactStatelessComponent-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ describe('ReactStatelessComponent', function() {
224224
it('should allow simple functions to return false', function() {
225225
function Child() {
226226
return false;
227-
};
227+
}
228228
expect(() => ReactTestUtils.renderIntoDocument(<Child />)).not.toThrow();
229229
});
230230

0 commit comments

Comments
 (0)