Skip to content

Commit

Permalink
disable eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
chicoxyzzy committed Feb 29, 2016
1 parent 0fcbb48 commit 8229a5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/isomorphic/classic/types/ReactPropTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ var ReactPropTypes = {
* inlined Object.is polyfill to avoid requiring consumers ship their own
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
*/
/*eslint-disable no-self-compare*/
function is(x, y) {
// SameValue algorithm
if (x === y) { // Steps 1-5, 7-10
Expand All @@ -99,6 +100,7 @@ function is(x, y) {
return x !== x && y !== y;
}
}
/*eslint-enable no-self-compare*/

function createChainableTypeChecker(validate) {
function checkType(
Expand Down

0 comments on commit 8229a5e

Please sign in to comment.