Skip to content

Commit

Permalink
Comment out no-unused-vars eslint warnings back.
Browse files Browse the repository at this point in the history
src/ButtonInput.js
  9:9   warning  bsStyle is defined but never used  no-unused-vars
  9:18  warning  value is defined but never used    no-unused-vars

Alas, that was a bug, not a feature.
  • Loading branch information
AlexKVal committed Jun 5, 2015
1 parent eeb7796 commit 48f312f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ButtonInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import childrenValueValidation from './utils/childrenValueInputValidation';

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

Expand Down

0 comments on commit 48f312f

Please sign in to comment.