lib/rules/no-irregular-whitespace.js
function isIgnoreLocation(index) {
                return (
                    ignoreTokens.find(
                        t => t.range[0] <= index && index < t.range[1]
                    ) ||
                    templateTokens.find(
                        t => t.range[0] <= index && index < t.range[1]
                    )
                )
            }
function isIgnoreLocation(index) {
                return (
                    ignoreTokens.find(
                        t => t.range[0] <= index && index < t.range[1]
                    ) ||
                    templateTokens.find(
                        t => t.range[0] <= index && index < t.range[1]
                    )
                )
            }
function isIgnoreLocation ( index ) { return ( ignoreTokens . find ( t => t . range [ 0 ] <= index && index < t . range [ 1 ] ) || templateTokens . find ( t => t . range [ 0 ] <= index && index < t . range [ 1 ] ) ) }
Check whether the index is in ignore location.
@param {number} index The index.
@returns {boolean} `true` if the index is in ignore location.
Check whether the index is in ignore location .