routie dev init since i didn't adhere to any proper guidance up until now

This commit is contained in:
2026-04-29 22:27:29 -06:00
commit e1dabb71e2
15301 changed files with 3562618 additions and 0 deletions
@@ -0,0 +1,24 @@
import { TSESLint } from '@typescript-eslint/utils'
import { TSESTree } from '@typescript-eslint/types'
interface GetCommentsBeforeParameters {
tokenValueToIgnoreBefore?: string
sourceCode: TSESLint.SourceCode
node: TSESTree.Node
}
/**
* Returns a list of comments before a given node, excluding ones that are right
* after code. Includes comment blocks, ignore shebang comments.
*
* @param params - Parameters object.
* @param params.node - The node to get comments before.
* @param params.sourceCode - The source code object.
* @param [params.tokenValueToIgnoreBefore] - Allows the following token to
* directly precede the node.
* @returns An array of comments before the given node.
*/
export declare function getCommentsBefore({
tokenValueToIgnoreBefore,
sourceCode,
node,
}: GetCommentsBeforeParameters): TSESTree.Comment[]
export {}