Skip to content

Commit

Permalink
Merge pull request react-bootstrap#667 from AlexKVal/eslintOneLine
Browse files Browse the repository at this point in the history
Fix eslint one-line disabling.
  • Loading branch information
mtscout6 committed May 15, 2015
2 parents fecc2dc + 676cf02 commit 054df8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ButtonInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ function valueValidation({children, value}, propName, componentName) {

class ButtonInput extends InputBase {
renderFormGroup(children) {
let {bsStyle, value, ...other} = this.props; /* eslint no-unused-vars: 0 object-shorthand: 0 */
let {bsStyle, value, ...other} = this.props; // eslint-disable-line object-shorthand, no-unused-vars
return <FormGroup {...other}>{children}</FormGroup>;
}

renderInput() {
let {children, value, ...other} = this.props;
let {children, value, ...other} = this.props; // eslint-disable-line object-shorthand
let val = children ? children : value;
return <Button {...other} componentClass="input" ref="input" key="input" value={val} />;
}
Expand Down

0 comments on commit 054df8f

Please sign in to comment.