From 48f312f782af0895e3ff627ad455a362b2345d6c Mon Sep 17 00:00:00 2001 From: AlexKVal Date: Fri, 5 Jun 2015 13:47:49 +0300 Subject: [PATCH] Comment out no-unused-vars eslint warnings back. 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. --- src/ButtonInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ButtonInput.js b/src/ButtonInput.js index 864938f093..8667df0178 100644 --- a/src/ButtonInput.js +++ b/src/ButtonInput.js @@ -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 {children}; }