Skip to content

Commit 6428cf7

Browse files
committed
Quick fix for eslint on 15.6-dev branch
The `.eslintignore` had gotten a merge conflict committed accidentally at some point, and also was not ignoring the `addons` directory. This fixes that. We also had a couple of missing commas that snuck in, and those are fixed here too.
1 parent ddd8260 commit 6428cf7

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.eslintignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# We can probably lint these later but not important at this point
2+
addons/
23
src/renderers/art
34
src/shared/vendor
45
# But not in docs/_js/examples/*
@@ -9,11 +10,8 @@ docs/_site/
910
docs/vendor/bundle/
1011
# This should be more like examples/**/thirdparty/** but
1112
# we should fix https://github.com/facebook/esprima/pull/85 first
12-
<<<<<<< HEAD
1313
examples/
14-
=======
1514
fixtures/
16-
>>>>>>> 4a37718... Remove examples/ folder (#9323)
1715
# Ignore built files.
1816
build/
1917
coverage/

src/isomorphic/classic/class/__tests__/ReactCreateClass-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ describe('ReactClass-spec', () => {
367367
render() {
368368
ops.push('Render: ' + this.state.step);
369369
return <div />;
370-
}
370+
},
371371
});
372372

373373
var instance = ReactTestUtils.renderIntoDocument(<Component />);
@@ -414,7 +414,7 @@ describe('ReactClass-spec', () => {
414414
instance = this;
415415
this.log('render');
416416
return <div />;
417-
}
417+
},
418418
});
419419

420420
var container = document.createElement('div');

0 commit comments

Comments
 (0)