SYMBOL INDEX (293 symbols across 88 files) FILE: @alias/commitlint/cli.test.js function cli (line 15) | function cli(args, options, input) { FILE: @commitlint/cli/src/cli-error.ts type ExitCode (line 1) | enum ExitCode { class CliError (line 9) | class CliError extends Error { method constructor (line 15) | constructor( FILE: @commitlint/cli/src/cli.test.ts type TestOptions (line 17) | interface TestOptions { function writePkg (line 720) | async function writePkg(payload: unknown, options: TestOptions) { FILE: @commitlint/cli/src/cli.ts function stdin (line 179) | async function stdin() { type MainArgsObject (line 195) | type MainArgsObject = { type MainArgsPromise (line 198) | type MainArgsPromise = Promise; type MainArgs (line 199) | type MainArgs = MainArgsObject | MainArgsPromise; function resolveArgs (line 201) | async function resolveArgs(args: MainArgs): Promise { function main (line 205) | async function main(args: MainArgs): Promise { function checkFromStdin (line 423) | function checkFromStdin(input: (string | number)[], flags: CliFlags): bo... function checkFromRepository (line 427) | function checkFromRepository(flags: CliFlags): boolean { function checkFromEdit (line 431) | function checkFromEdit(flags: CliFlags): boolean { function checkFromHistory (line 435) | function checkFromHistory(flags: CliFlags): boolean { function normalizeFlags (line 444) | function normalizeFlags(flags: CliFlags): CliFlags { function getEditValue (line 452) | function getEditValue(flags: CliFlags) { function getSeed (line 496) | function getSeed(flags: CliFlags): UserConfig { function selectParserOpts (line 505) | function selectParserOpts(parserPreset: ParserPreset | undefined) { function loadFormatter (line 517) | function loadFormatter( FILE: @commitlint/cli/src/types.ts type CliFlags (line 1) | interface CliFlags { FILE: @commitlint/config-lerna-scopes/index.js function normalizePatterns (line 20) | function normalizePatterns(patterns) { function findPackages (line 33) | async function findPackages(cwd) { function getProjects (line 58) | async function getProjects(context) { FILE: @commitlint/config-nx-scopes/index.js function getProjects (line 16) | function getProjects(context, selector = () => true) { FILE: @commitlint/config-patternplate/index.js function pathToId (line 7) | function pathToId(root, filePath) { function getPatternIDs (line 12) | async function getPatternIDs() { FILE: @commitlint/config-pnpm-scopes/index.ts function requirePackagesManifest (line 16) | function requirePackagesManifest(dir: any) { function normalizePatterns (line 28) | function normalizePatterns(patterns: any) { function findWorkspacePackages (line 38) | function findWorkspacePackages(cwd: any) { function getProjects (line 67) | function getProjects(context: any) { FILE: @commitlint/config-rush-scopes/index.js function getPackages (line 14) | function getPackages(context) { FILE: @commitlint/config-validator/src/formatErrors.ts function formatErrors (line 9) | function formatErrors(errors: ErrorObject[]): string { FILE: @commitlint/config-validator/src/validate.ts constant TYPE_OF (line 12) | const TYPE_OF = [ function validateConfig (line 25) | function validateConfig( FILE: @commitlint/config-workspace-scopes/index.js function getPackages (line 16) | function getPackages(context) { FILE: @commitlint/cz-commitlint/src/Process.test.ts function InquirerFactory (line 43) | function InquirerFactory(answers: Answers) { constant MESSAGES (line 54) | const MESSAGES = { FILE: @commitlint/cz-commitlint/src/Question.test.ts constant MESSAGES (line 7) | const MESSAGES = { constant QUESTION_CONFIG (line 15) | const QUESTION_CONFIG = { class CustomQuestion (line 182) | class CustomQuestion extends Question { method beforeQuestionStart (line 183) | beforeQuestionStart(answers: Answers): void { FILE: @commitlint/cz-commitlint/src/Question.ts type QuestionConfig (line 12) | type QuestionConfig = { class Question (line 30) | class Question { method constructor (line 41) | constructor( method getMessage (line 109) | getMessage(key: string): string { method question (line 113) | get question(): Readonly { method maxLength (line 117) | get maxLength(): number { method maxLength (line 121) | set maxLength(maxLength: number) { method minLength (line 125) | get minLength(): number { method minLength (line 129) | set minLength(minLength: number) { method beforeQuestionStart (line 133) | protected beforeQuestionStart(_answers: Answers): void { method validate (line 137) | protected validate(input: string): boolean | string { method filter (line 159) | protected filter(input: string | string[]): string { method transformer (line 180) | protected transformer(input: string, _answers: Answers): string { method decorateMessage (line 193) | protected decorateMessage(_answers: Answers): string { FILE: @commitlint/cz-commitlint/src/SectionBody.ts function getQuestions (line 10) | function getQuestions(): Array { function combineCommitMessage (line 18) | function combineCommitMessage(answers: Answers): string { FILE: @commitlint/cz-commitlint/src/SectionFooter.ts class FooterQuestion (line 12) | class FooterQuestion extends Question { method constructor (line 15) | constructor( method beforeQuestionStart (line 25) | beforeQuestionStart(answers: Answers): void { function getQuestions (line 33) | function getQuestions(): Array { function combineCommitMessage (line 126) | function combineCommitMessage(answers: Answers): string { FILE: @commitlint/cz-commitlint/src/SectionHeader.ts class HeaderQuestion (line 8) | class HeaderQuestion extends Question { method constructor (line 11) | constructor( method beforeQuestionStart (line 21) | beforeQuestionStart(answers: Answers): void { function combineCommitMessage (line 32) | function combineCommitMessage(answers: Answers): string { function getQuestions (line 48) | function getQuestions(): Array { function getQuestionConfig (line 74) | function getQuestionConfig( FILE: @commitlint/cz-commitlint/src/index.ts type Commit (line 6) | type Commit = (message: string) => void; function prompter (line 13) | function prompter( FILE: @commitlint/cz-commitlint/src/services/getRuleQuestionConfig.ts type GraphemeSegment (line 18) | interface GraphemeSegment { function normalizeEmoji (line 41) | function normalizeEmoji(emoji: string): string { FILE: @commitlint/cz-commitlint/src/store/prompts.ts function setPromptConfig (line 14) | function setPromptConfig(newPromptConfig: UserPromptConfig): void { function getPromptMessages (line 47) | function getPromptMessages(): Readonly { function getPromptQuestions (line 51) | function getPromptQuestions(): Readonly { function getPromptSettings (line 55) | function getPromptSettings(): Readonly { FILE: @commitlint/cz-commitlint/src/store/rules.ts function getRule (line 13) | function getRule(key: string, property: string): Rule | undefined { function setRules (line 20) | function setRules(newRules: QualifiedRules): void { type GetRuleMethod (line 24) | type GetRuleMethod = typeof getRule; type SetRulesMethod (line 25) | type SetRulesMethod = typeof setRules; FILE: @commitlint/cz-commitlint/src/types.ts type Rule (line 3) | type Rule = FILE: @commitlint/cz-commitlint/src/utils/case-fn.ts type CaseFn (line 7) | type CaseFn = (input: string | string[], delimiter?: string) => string; function getCaseFn (line 14) | function getCaseFn(rule?: Rule): CaseFn { FILE: @commitlint/cz-commitlint/src/utils/full-stop-fn.ts type FullStopFn (line 4) | type FullStopFn = (input: string) => string; function getFullStopFn (line 11) | function getFullStopFn(rule?: Rule): FullStopFn { FILE: @commitlint/cz-commitlint/src/utils/leading-blank-fn.ts function getLeadingBlankFn (line 9) | function getLeadingBlankFn( FILE: @commitlint/cz-commitlint/src/utils/rules.ts function ruleIsDisabled (line 4) | function ruleIsDisabled( function ruleIsActive (line 18) | function ruleIsActive( function ruleIsApplicable (line 32) | function ruleIsApplicable( function ruleIsNotApplicable (line 48) | function ruleIsNotApplicable( function enumRuleIsActive (line 59) | function enumRuleIsActive( function getEnumList (line 72) | function getEnumList(rule: Rule): string[] { function getMaxLength (line 76) | function getMaxLength(rule?: Rule): number { function getMinLength (line 88) | function getMinLength(rule?: Rule): number { FILE: @commitlint/ensure/src/case.ts function ensureCase (line 7) | function ensureCase( FILE: @commitlint/ensure/src/index.test.ts function _glob (line 27) | function _glob(pattern: string): string[] { function relative (line 35) | function relative(filePath: string): string { function toExport (line 39) | function toExport(fileName: string): string { FILE: @commitlint/ensure/src/max-line-length.ts constant URL_REGEX (line 7) | const URL_REGEX = /\bhttps?:\/\/\S+/; FILE: @commitlint/ensure/src/to-case.ts function toCase (line 8) | function toCase(input: string, target: TargetCaseType): string { FILE: @commitlint/execute-rule/src/index.ts type Rule (line 1) | type Rule = readonly [string, Config]; type Config (line 2) | type Config = T | Promise | ExectableConfig; type ExectableConfig (line 3) | type ExectableConfig = (() => T) | (() => Promise); type ExecutedRule (line 5) | type ExecutedRule = readonly [string, T]; function execute (line 9) | async function execute( function executable (line 23) | function executable(config: Config): config is ExectableConfig { FILE: @commitlint/format/src/format.ts constant DEFAULT_SIGNS (line 10) | const DEFAULT_SIGNS = [" ", "⚠", "✖"] as const; constant DEFAULT_COLORS (line 11) | const DEFAULT_COLORS: readonly [ function format (line 17) | function format( function formatInput (line 36) | function formatInput( function formatResult (line 58) | function formatResult( function selectSign (line 111) | function selectSign(result: FormattableResult): string { function selectColor (line 118) | function selectColor(result: FormattableResult): PicocolorsColor { FILE: @commitlint/is-ignored/src/is-ignored.test.ts constant VERSION_MESSAGES (line 5) | const VERSION_MESSAGES = [ constant AMENDMENTS (line 22) | const AMENDMENTS = [ constant AMENDED_VERSION_MESSAGES (line 28) | const AMENDED_VERSION_MESSAGES = VERSION_MESSAGES.reduce( FILE: @commitlint/is-ignored/src/is-ignored.ts function isIgnored (line 4) | function isIgnored( FILE: @commitlint/lint/src/commit-message.ts type CommitMessageData (line 1) | interface CommitMessageData { FILE: @commitlint/lint/src/lint.ts function lint (line 18) | async function lint( FILE: @commitlint/load/fixtures/recursive-extends-ts/types.ts type UserConfig (line 1) | interface UserConfig { FILE: @commitlint/load/src/load.ts function load (line 36) | async function load( FILE: @commitlint/load/src/utils/load-config.ts type LoadConfigResult (line 12) | interface LoadConfigResult { function loadConfig (line 21) | async function loadConfig( FILE: @commitlint/load/src/utils/load-parser-opts.ts type Awaitable (line 3) | type Awaitable = T | PromiseLike; function isObjectLike (line 5) | function isObjectLike(obj: unknown): obj is Record { function isParserOptsFunction (line 9) | function isParserOptsFunction( function loadParserOpts (line 19) | async function loadParserOpts( FILE: @commitlint/load/src/utils/load-plugin.ts function sanitizeErrorMessage (line 24) | function sanitizeErrorMessage(message: string): string { function findPackageJson (line 30) | function findPackageJson(dir: string): string | null { type LoadPluginOptions (line 43) | interface LoadPluginOptions { function normalizeOptions (line 48) | function normalizeOptions( function loadPlugin (line 57) | async function loadPlugin( FILE: @commitlint/load/src/utils/plugin-errors.ts class WhitespacePluginError (line 1) | class WhitespacePluginError extends Error { method constructor (line 7) | constructor(pluginName?: string, data: any = {}) { class MissingPluginError (line 16) | class MissingPluginError extends Error { method constructor (line 22) | constructor(pluginName?: string, errorMessage: string = "", data: any ... FILE: @commitlint/load/src/utils/plugin-naming.ts constant NAMESPACE_REGEX (line 4) | const NAMESPACE_REGEX = /^@.*\//u; function convertPathToPosix (line 9) | function convertPathToPosix(filepath: string) { function normalizePackageName (line 22) | function normalizePackageName(name: string) { function getShorthandName (line 72) | function getShorthandName(fullname: string) { function getNamespaceFromTerm (line 96) | function getNamespaceFromTerm(term: string) { FILE: @commitlint/message/src/index.ts function message (line 1) | function message(input: (string | null | undefined)[] = []) { FILE: @commitlint/parse/src/index.ts function parse (line 23) | async function parse( FILE: @commitlint/prompt-cli/cli.js function main (line 12) | function main() { function isStageEmpty (line 25) | function isStageEmpty() { function commit (line 29) | function commit(message) { FILE: @commitlint/prompt/src/index.ts type Commit (line 5) | type Commit = (input: string) => void; function prompter (line 13) | function prompter(cz: typeof inquirer, commit: Commit): void { FILE: @commitlint/prompt/src/input.test.ts function stub (line 95) | function stub(config: Record>): PromptMo... FILE: @commitlint/prompt/src/input.ts function input (line 17) | async function input(prompter: PromptModule): Promise { FILE: @commitlint/prompt/src/inquirer/InputCustomPrompt.ts type KeyDescriptor (line 12) | interface KeyDescriptor { class InputCustomPrompt (line 17) | class InputCustomPrompt< method constructor (line 23) | constructor( method onEnd (line 47) | onEnd(state: SuccessfulPromptStateData): void { method updateLine (line 58) | updateLine(line: string): void { method onKeyPress2 (line 64) | onKeyPress2(e: KeyDescriptor): void { method measureInput (line 79) | measureInput(input: string): number { method render (line 86) | render(error?: string): void { FILE: @commitlint/prompt/src/inquirer/inquirer.d.ts type InputCustomCompletionOption (line 4) | interface InputCustomCompletionOption { type InputCustomOptions (line 9) | interface InputCustomOptions< type QuestionMap (line 22) | interface QuestionMap { FILE: @commitlint/prompt/src/library/format.ts function format (line 11) | function format(input: Result, debug = false): string { FILE: @commitlint/prompt/src/library/get-forced-case-fn.ts function getForcedCaseFn (line 12) | function getForcedCaseFn( FILE: @commitlint/prompt/src/library/get-forced-leading-fn.ts function getForcedLeadingFn (line 9) | function getForcedLeadingFn( FILE: @commitlint/prompt/src/library/get-prompt.ts constant EOL (line 19) | const EOL = "\n"; function getPrompt (line 28) | function getPrompt( FILE: @commitlint/prompt/src/library/meta.ts function meta (line 8) | function meta(settings: Record): string { FILE: @commitlint/prompt/src/library/types.ts type RuleEntry (line 6) | type RuleEntry = type InputSetting (line 11) | type InputSetting = { type ResultPart (line 25) | type ResultPart = "type" | "scope" | "subject" | "body" | "footer"; type Result (line 27) | type Result = Partial>; FILE: @commitlint/prompt/src/library/utils.ts function getRuleName (line 11) | function getRuleName(id: string): string { function getRulePrefix (line 21) | function getRulePrefix(id: string): string | null { function getHasName (line 29) | function getHasName(name: string) { function ruleIsActive (line 40) | function ruleIsActive( function ruleIsApplicable (line 55) | function ruleIsApplicable( function ruleIsNotApplicable (line 72) | function ruleIsNotApplicable( function enumRuleIsActive (line 84) | function enumRuleIsActive( function getRules (line 106) | function getRules(prefix: string, rules: QualifiedRules): RuleEntry[] { function getMaxLength (line 112) | function getMaxLength(rule?: RuleEntry): number { FILE: @commitlint/read/src/get-edit-commit.ts function getEditCommit (line 7) | async function getEditCommit( FILE: @commitlint/read/src/get-edit-file-path.ts function getEditFilePath (line 6) | async function getEditFilePath( FILE: @commitlint/read/src/get-history-commits.ts function getHistoryCommits (line 5) | async function getHistoryCommits( FILE: @commitlint/read/src/read.ts type GetCommitMessageOptions (line 9) | interface GetCommitMessageOptions { function getCommitMessages (line 20) | async function getCommitMessages( FILE: @commitlint/resolve-extends/src/index.ts type ResolveExtendsContext (line 101) | interface ResolveExtendsContext { function resolveExtends (line 110) | async function resolveExtends( function loadExtends (line 132) | async function loadExtends( function getId (line 174) | function getId(raw: string = "", prefix: string = ""): string { function resolveConfig (line 187) | function resolveConfig( function resolveId (line 208) | function resolveId( function resolveFromSilent (line 230) | function resolveFromSilent( function getNpmCacheDir (line 243) | function getNpmCacheDir(): string { function getNpxCachePaths (line 272) | function getNpxCachePaths(): string[] { function resolveFromNpxCache (line 311) | function resolveFromNpxCache(specifier: string): string | undefined { function resolveGlobalSilent (line 329) | function resolveGlobalSilent(specifier: string): string | undefined { FILE: @commitlint/rules/src/index.test.ts function _glob (line 36) | function _glob(pattern: string) { function relative (line 44) | function relative(filePath: string) { function toExport (line 48) | function toExport(fileName: string) { FILE: @commitlint/rules/src/signed-off-by.ts constant CHERRY_PICK_REGEX (line 5) | const CHERRY_PICK_REGEX = /^\(cherry picked from commit [0-9a-f]{7,64}\)... FILE: @commitlint/to-lines/src/index.ts function toLines (line 1) | function toLines(input?: string | null): string[] { FILE: @commitlint/top-level/src/index.ts function toplevel (line 9) | function toplevel(cwd = process.cwd()) { FILE: @commitlint/travis-cli/src/cli.test.ts constant TRAVIS_COMMITLINT_BIN (line 17) | const TRAVIS_COMMITLINT_BIN = require.resolve("../fixtures/commitlint"); constant TRAVIS_COMMITLINT_GIT_BIN (line 18) | const TRAVIS_COMMITLINT_GIT_BIN = require.resolve("../fixtures/git"); function getInvocations (line 144) | function getInvocations(stdout: string): string[][] { FILE: @commitlint/travis-cli/src/cli.ts constant GIT (line 10) | const GIT = process.env.TRAVIS_COMMITLINT_GIT_BIN || "git"; constant COMMITLINT (line 11) | const COMMITLINT = constant REQUIRED (line 14) | const REQUIRED = [ constant COMMIT (line 22) | const COMMIT = process.env.TRAVIS_COMMIT || ""; constant REPO_SLUG (line 23) | const REPO_SLUG = process.env.TRAVIS_REPO_SLUG; constant PR_SLUG (line 24) | const PR_SLUG = process.env.TRAVIS_PULL_REQUEST_SLUG || REPO_SLUG; constant RANGE (line 25) | const RANGE = process.env.TRAVIS_COMMIT_RANGE; constant IS_PR (line 26) | const IS_PR = process.env.TRAVIS_EVENT_TYPE === "pull_request"; function main (line 33) | async function main() { function git (line 63) | async function git(args: string[], nodeOptions: SpawnOptions = {}) { function fetch (line 72) | async function fetch({ name, url }: { name: string; url: string }) { function isClean (line 77) | async function isClean() { function lint (line 84) | async function lint( function log (line 102) | async function log(hash: string) { function stash (line 109) | async function stash() { function validate (line 117) | function validate() { FILE: @commitlint/types/src/ensure.ts type TargetCaseType (line 1) | type TargetCaseType = FILE: @commitlint/types/src/format.ts type Formatter (line 5) | type Formatter = ( type FormattableProblem (line 10) | interface FormattableProblem { type FormattableResult (line 16) | interface FormattableResult { type WithInput (line 21) | interface WithInput { type FormattableReport (line 25) | interface FormattableReport { type PicocolorsColor (line 30) | type PicocolorsColor = Exclude< type ChalkColor (line 36) | type ChalkColor = PicocolorsColor; type FormatOptions (line 38) | interface FormatOptions { FILE: @commitlint/types/src/is-ignored.ts type Matcher (line 1) | type Matcher = (commit: string) => boolean; type IsIgnoredOptions (line 3) | interface IsIgnoredOptions { FILE: @commitlint/types/src/lint.ts type LintRuleConfig (line 6) | type LintRuleConfig = Record< type LintOptions (line 13) | interface LintOptions { type LintOutcome (line 25) | interface LintOutcome { type LintRuleOutcome (line 36) | interface LintRuleOutcome { FILE: @commitlint/types/src/load.ts type PluginRecords (line 10) | type PluginRecords = Record; type Plugin (line 12) | interface Plugin { type LoadOptions (line 18) | interface LoadOptions { type UserConfig (line 23) | interface UserConfig { type QualifiedRules (line 36) | type QualifiedRules = Partial>; type QualifiedConfig (line 38) | interface QualifiedConfig { type ParserPreset (line 50) | interface ParserPreset { FILE: @commitlint/types/src/parse.ts type Parser (line 6) | type Parser = (message: string, options: Options) => Omit; FILE: @commitlint/types/src/prompt.ts type RuleField (line 1) | type RuleField = type PromptName (line 9) | type PromptName = type PromptConfig (line 18) | type PromptConfig = { type PromptMessages (line 44) | type PromptMessages = { type UserPromptConfig (line 54) | type UserPromptConfig = DeepPartial; type DeepPartial (line 56) | type DeepPartial = { FILE: @commitlint/types/src/rules.test-d.ts constant ERROR (line 11) | const ERROR = RuleConfigSeverity.Error; FILE: @commitlint/types/src/rules.ts type RuleOutcome (line 10) | type RuleOutcome = Readonly<[boolean, string?]>; type RuleType (line 16) | type RuleType = "async" | "sync" | "either"; type BaseRule (line 18) | type BaseRule = ( type Rule (line 30) | type Rule = BaseRule; type AsyncRule (line 31) | type AsyncRule = BaseRule; type SyncRule (line 32) | type SyncRule = BaseRule; type RuleConfigSeverity (line 41) | enum RuleConfigSeverity { type RuleConfigCondition (line 52) | type RuleConfigCondition = "always" | "never"; type RuleConfigTuple (line 54) | type RuleConfigTuple = T extends void type RuleConfigQuality (line 62) | enum RuleConfigQuality { type RuleConfigContext (line 67) | interface RuleConfigContext { type QualifiedRuleConfig (line 71) | type QualifiedRuleConfig = type RuleConfig (line 76) | type RuleConfig< type CaseRuleConfig (line 83) | type CaseRuleConfig = RuleConfig< type LengthRuleConfig (line 87) | type LengthRuleConfig = RuleConfig< type EnumRuleConfig (line 91) | type EnumRuleConfig = RuleConfig< type ObjectRuleConfig (line 95) | type ObjectRuleConfig< type RulesConfig (line 100) | type RulesConfig = { type AnyRuleConfig (line 152) | type AnyRuleConfig = RuleConfig | RuleConfig; FILE: @packages/test-environment/src/test-environment.ts method setup (line 13) | async setup(global: object, options: Record) { FILE: @packages/test/src/fix.ts function bootstrap (line 7) | async function bootstrap(fixture?: string, directory?: string) { FILE: @packages/test/src/git.ts function bootstrap (line 5) | async function bootstrap(fixture?: string, directory?: string) { function clone (line 12) | async function clone( function init (line 25) | async function init(cwd: string) { function setup (line 31) | async function setup(cwd: string, gitCommand = "git") { FILE: @packages/test/src/npm.ts function installModules (line 11) | async function installModules(cwd: string) { function bootstrap (line 79) | async function bootstrap(fixture: string, directory?: string) { function findParentPath (line 85) | function findParentPath( FILE: @packages/utils/dep-check.js function main (line 7) | function main() { function check (line 16) | function check(args) { FILE: @packages/utils/pkg-check.js constant PRELUDE (line 15) | const PRELUDE = ` function main (line 32) | function main(flags) { function getTarballFiles (line 142) | async function getTarballFiles(source, options) { function getArchiveFiles (line 156) | function getArchiveFiles(filePath, options) { function getPackageFiles (line 181) | function getPackageFiles(source) { function normalizeMainPath (line 190) | function normalizeMainPath(mainPath) { function getPkgBinFiles (line 198) | function getPkgBinFiles(bin) { function fileImportable (line 212) | function fileImportable(file) { FILE: docs/.vitepress/config.ts method config (line 102) | config(md) { FILE: docs/.vitepress/theme/index.ts method enhanceApp (line 8) | enhanceApp({ app }) {