Skip to content

Commit

Permalink
disable popular warning lines
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Apr 6, 2017
1 parent 7266fc1 commit d9a1660
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/renderers/dom/shared/DOMProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ var DOMPropertyInjection = {
),
};
invariant(
propertyInfo.hasBooleanValue +
propertyInfo.hasNumericValue +
propertyInfo.hasOverloadedBooleanValue <=
propertyInfo.hasBooleanValue + // runtyper-disable-line
propertyInfo.hasNumericValue + // runtyper-disable-line
propertyInfo.hasOverloadedBooleanValue <= // runtyper-disable-line
1,
'DOMProperty: Value can be one of boolean, overloaded boolean, or ' +
'numeric value, but not a combination: %s',
Expand Down
4 changes: 2 additions & 2 deletions src/renderers/shared/stack/reconciler/Transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ var TransactionImpl = {
? wrapper.initialize.call(this)
: null;
} finally {
if (this.wrapperInitData[i] === OBSERVED_ERROR) {
if (this.wrapperInitData[i] === OBSERVED_ERROR) { // runtyper-disable-line
// The initializer for wrapper i threw an error; initialize the
// remaining wrappers but silence any exceptions from them to ensure
// that the first error is the one to bubble up.
Expand Down Expand Up @@ -217,7 +217,7 @@ var TransactionImpl = {
// close -- if it's still set to true in the finally block, it means
// wrapper.close threw.
errorThrown = true;
if (initData !== OBSERVED_ERROR && wrapper.close) {
if (initData !== OBSERVED_ERROR && wrapper.close) { // runtyper-disable-line
wrapper.close.call(this, initData);
}
errorThrown = false;
Expand Down

0 comments on commit d9a1660

Please sign in to comment.