lib/rules/member-delimiter-style.js
function checkMemberSeparatorStyle(node) {
            const isInterface = node.type === "TSInterfaceBody";
            const isSingleLine = node.loc.start.line === node.loc.end.line;

            const members = isInterface ? node.body : node.members;

            const typeOpts = isInterface
                ? interfaceOptions
                : typeLiteralOptions;
            const opts = isSingleLine
                ? typeOpts.singleline
                : typeOpts.multiline;

            members.forEach((member, index) => {
                checkLastToken(member, opts, index === members.length - 1);
            });
        }
function checkMemberSeparatorStyle(node) {
            const isInterface = node.type === "TSInterfaceBody";
            const isSingleLine = node.loc.start.line === node.loc.end.line;

            const members = isInterface ? node.body : node.members;

            const typeOpts = isInterface
                ? interfaceOptions
                : typeLiteralOptions;
            const opts = isSingleLine
                ? typeOpts.singleline
                : typeOpts.multiline;

            members.forEach((member, index) => {
                checkLastToken(member, opts, index === members.length - 1);
            });
        }
function checkMemberSeparatorStyle ( node ) { const isInterface = node . type === "TSInterfaceBody" ; const isSingleLine = node . loc . start . line === node . loc . end . line ; const members = isInterface ? node . body : node . members ; const typeOpts = isInterface ? interfaceOptions : typeLiteralOptions ; const opts = isSingleLine ? typeOpts . singleline : typeOpts . multiline ; members . forEach ( ( member , index ) => { checkLastToken ( member , opts , index === members . length - 1 ) ; } ) ; }
Check the member separator being used matches the delimiter.
@param {ASTNode} node the node to be evaluated.
@returns {void}
@private
Check the member separator being used matches the delimiter .