Skip to content

Commit

Permalink
Turn on 'object-curly-spacing' rule
Browse files Browse the repository at this point in the history
  • Loading branch information
darthtrevino committed Jan 25, 2017
1 parent d3ebb39 commit 6c63d93
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion examples/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"import/prefer-default-export": "off",
"max-len": "off",
"no-param-reassign": "off",
"object-curly-spacing": "off",
"object-shorthand": "off",
"prefer-template": "off",
"quote-props": "off",
Expand Down
2 changes: 1 addition & 1 deletion examples/02 Drag Around/Custom Drag Layer/Box.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default class Box extends Component {
const backgroundColor = yellow ? 'yellow' : 'white';

return (
<div style={{...styles, backgroundColor }}>
<div style={{ ...styles, backgroundColor }}>
{title}
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion examples/02 Drag Around/Naive/Container.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default class Container extends Component {

render() {
const { hideSourceOnDrag, connectDropTarget } = this.props;
const { boxes} = this.state;
const { boxes } = this.state;

return connectDropTarget(
<div style={styles}>
Expand Down

0 comments on commit 6c63d93

Please sign in to comment.