@samitouri / QOS-React-2 / commits / a1dab9edbf

Fix lint

- Upgrade babel-eslint - Ignore coverage - Fix actual lint warning

Paul O’Shannessy committed Feb 5, 2016 at 10:56 UTC a1dab9edbf6256640cf89a992d432d3a4dae5fbe
3 files changed +3 -2
.eslintignore
+1
@@ -11,5 +11,6 @@ docs/vendor/bundle/
11 examples/
12 # Ignore built files.
13 build/
14 +coverage/
15 scripts/bench/bench-*.js
16 vendor/*
package.json
+1 -1
@@ -5,7 +5,7 @@
5 "devDependencies": {
6 "async": "^1.5.0",
7 "babel": "^5.8.29",
8 - "babel-eslint": "4.1.5",
8 + "babel-eslint": "4.1.8",
9 "browserify": "^12.0.1",
10 "bundle-collapser": "^1.1.1",
11 "coffee-script": "^1.8.0",
src/renderers/shared/reconciler/__tests__/ReactStatelessComponent-test.js
+1 -1
@@ -224,7 +224,7 @@ describe('ReactStatelessComponent', function() {
224 it('should allow simple functions to return false', function() {
225 function Child() {
226 return false;
227 - };
227 + }
228 expect(() => ReactTestUtils.renderIntoDocument(<Child />)).not.toThrow();
229 });
230