diff --git a/docs/rules/prefer-number-is-integer.md b/docs/rules/prefer-number-is-integer.md index b58ff7a83f..38baed28c6 100644 --- a/docs/rules/prefer-number-is-integer.md +++ b/docs/rules/prefer-number-is-integer.md @@ -2,7 +2,7 @@ Enforces the use of [Number.isInteger()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger) for checking if a number is an integer. -These different implementations have slightly different behaviours. +These different implementations have slightly different behaviors. For example: @@ -23,7 +23,7 @@ Math.round(value) === value parseInt(value, 10) === value ~~value === value -// these will all trigger the lint warning +// These will all trigger the lint warning _.isInteger(value); lodash.isInteger(value); underscore.isInteger(value);