lib/rules/semi.js
function maybeAsiHazardBefore(token) {
            return (
                Boolean(token) &&
                OPT_OUT_PATTERN.test(token.value) &&
                token.value !== "++" &&
                token.value !== "--"
            );
        }
function maybeAsiHazardBefore(token) {
            return (
                Boolean(token) &&
                OPT_OUT_PATTERN.test(token.value) &&
                token.value !== "++" &&
                token.value !== "--"
            );
        }
function maybeAsiHazardBefore ( token ) { return ( Boolean ( token ) && OPT_OUT_PATTERN . test ( token . value ) && token . value !== "++" && token . value !== "--" ) ; }
Check whether a given token can connect the previous statement.
@param {Token} token A token to check.
@returns {boolean} `true` if the token is one of `[`, `(`, `/`, `+`, `-`, ```, `++`, and `--`.
Check whether a given token can connect the previous statement .