Skip to content

Commit

Permalink
Quick fix for eslint on 15.6-dev branch
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
flarnie committed Jun 7, 2017
1 parent 34bbc78 commit 7770761
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .eslintignore
@@ -1,4 +1,5 @@
# We can probably lint these later but not important at this point
addons/
src/renderers/art
src/shared/vendor
# But not in docs/_js/examples/*
Expand All @@ -9,11 +10,8 @@ docs/_site/
docs/vendor/bundle/
# This should be more like examples/**/thirdparty/** but
# we should fix https://github.com/facebook/esprima/pull/85 first
<<<<<<< HEAD
examples/
=======
fixtures/
>>>>>>> 4a37718... Remove examples/ folder (#9323)
# Ignore built files.
build/
coverage/
Expand Down
Expand Up @@ -367,7 +367,7 @@ describe('ReactClass-spec', () => {
render() {
ops.push('Render: ' + this.state.step);
return <div />;
}
},
});

var instance = ReactTestUtils.renderIntoDocument(<Component />);
Expand Down Expand Up @@ -414,7 +414,7 @@ describe('ReactClass-spec', () => {
instance = this;
this.log('render');
return <div />;
}
},
});

var container = document.createElement('div');
Expand Down

0 comments on commit 7770761

Please sign in to comment.