configuration/constants/tone.constants.ts

configuration/constants/tone.constants.ts is a file in Bane's Lab Content. 32 lines of code and 14 definitions.

export const STRINGS_SUFFIX = ".strings.ts";

export const TYPESCRIPT_LANGUAGE = "typescript";

export const LITERAL_NODE_TYPE = "string_fragment";

export const FIRST_PERSON: ReadonlySet<string> = new Set(["i", "my", "me", "mine"]);

export const SECOND_PERSON: ReadonlySet<string> = new Set(["you", "your", "yours"]);

export const COLLECTIVE_PERSON: ReadonlySet<string> = new Set(["we", "our", "us", "ours"]);

export const LABEL_MARK = "**";

export const LABEL_SEPARATORS: readonly string[] = [" — ", " - ", ": "];

export const WORD_STOPS: ReadonlySet<string> = new Set([
    " ",
    "\n",
    "\t",
    ",",
    ".",
    ";",
    ":",
    "!",
    "?",
    "(",
    ")",
    '"',
    "'",
    "—",
    "-",
    "*",
    "`",
]);

export const BASELINE_NAME = "tone-baseline";

export const BASELINE_CONCERN = "product";

export const BASELINE_FILE = "tone-baseline.content.generated.md";

export const DOC_TYPE = "reference";

export const DOC_STATUS = "current";