lib/rules/script-indent.js
function processNonSpecifier() {
                    const secondToken = sourceCode.getFirstToken(node, 1)
                    if (isLeftBrace(secondToken)) {
                        setOffsetToToken(
                            [
                                secondToken,
                                sourceCode.getTokenAfter(secondToken),
                            ],
                            0,
                            importToken
                        )
                        tokens.push(
                            sourceCode.getLastToken(node, hasSemi ? 2 : 1), // from
                            sourceCode.getLastToken(node, hasSemi ? 1 : 0) // "foo"
                        )
                    } else {
                        tokens.push(
                            sourceCode.getLastToken(node, hasSemi ? 1 : 0)
                        )
                    }
                }
function processNonSpecifier() {
                    const secondToken = sourceCode.getFirstToken(node, 1)
                    if (isLeftBrace(secondToken)) {
                        setOffsetToToken(
                            [
                                secondToken,
                                sourceCode.getTokenAfter(secondToken),
                            ],
                            0,
                            importToken
                        )
                        tokens.push(
                            sourceCode.getLastToken(node, hasSemi ? 2 : 1), // from
                            sourceCode.getLastToken(node, hasSemi ? 1 : 0) // "foo"
                        )
                    } else {
                        tokens.push(
                            sourceCode.getLastToken(node, hasSemi ? 1 : 0)
                        )
                    }
                }
function processNonSpecifier ( ) { const secondToken = sourceCode . getFirstToken ( node , 1 ) if ( isLeftBrace ( secondToken ) ) { setOffsetToToken ( [ secondToken , sourceCode . getTokenAfter ( secondToken ) , ] , 0 , importToken ) tokens . push ( sourceCode . getLastToken ( node , hasSemi ? 2 : 1 ) , // from sourceCode . getLastToken ( node , hasSemi ? 1 : 0 ) // "foo" ) } else { tokens . push ( sourceCode . getLastToken ( node , hasSemi ? 1 : 0 ) ) } }
Process when the specifier does not exist
@returns {void}
Process when the specifier does not exist