Skip to content

Commit

Permalink
chore(lint): Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lgeiger committed Jan 10, 2017
1 parent 9121455 commit 1f122ad
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"flowtype/define-flow-type": 2,
"no-unused-expressions": [0, { allowTernary: true }],
"react/jsx-filename-extension": "off",
"react/require-default-props": [0],
"react/no-array-index-key": [0],
"jsx-a11y/img-has-alt": [0],
"import/extensions": [0, { "js": "never", "jsx": "never"}],
"max-len": [
2,
Expand Down
30 changes: 15 additions & 15 deletions src/notebook/components/cell/cell.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,21 +133,21 @@ export class Cell extends React.PureComponent {
theme={this.props.theme}
cursorBlinkRate={this.props.cursorBlinkRate}
/> :
<CodeCell
focusAbove={this.focusAboveCell}
focusBelow={this.focusBelowCell}
cellFocused={cellFocused}
editorFocused={editorFocused}
cell={cell}
id={this.props.id}
theme={this.props.theme}
cursorBlinkRate={this.props.cursorBlinkRate}
language={this.props.language}
displayOrder={this.props.displayOrder}
transforms={this.props.transforms}
pagers={this.props.pagers}
running={this.props.running}
/>
<CodeCell
focusAbove={this.focusAboveCell}
focusBelow={this.focusBelowCell}
cellFocused={cellFocused}
editorFocused={editorFocused}
cell={cell}
id={this.props.id}
theme={this.props.theme}
cursorBlinkRate={this.props.cursorBlinkRate}
language={this.props.language}
displayOrder={this.props.displayOrder}
transforms={this.props.transforms}
pagers={this.props.pagers}
running={this.props.running}
/>
}
</div>
);
Expand Down

0 comments on commit 1f122ad

Please sign in to comment.