Skip to content

Commit

Permalink
Remove eslint exception (per spec, this is a syntax error)
Browse files Browse the repository at this point in the history
  • Loading branch information
nylen committed Aug 4, 2017
1 parent 37504db commit ccf3906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Button extends Component {
isToggled,
className,
disabled,
...additionalProps, // eslint-disable-line comma-dangle
...additionalProps
} = this.props;
const classes = classnames( 'components-button', className, {
button: ( isPrimary || isSecondary || isLarge ),
Expand Down

0 comments on commit ccf3906

Please sign in to comment.