Skip to content

Commit 054df8f

Browse files
committed
Merge pull request react-bootstrap#667 from AlexKVal/eslintOneLine
Fix eslint one-line disabling.
2 parents fecc2dc + 676cf02 commit 054df8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ButtonInput.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ function valueValidation({children, value}, propName, componentName) {
1212

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

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

0 commit comments

Comments
 (0)