Increase the terminal buffer to 100kb so you can scroll up and see more output.
{command}is the command you want to run and see more output from
DEBUG_PRINT_LIMIT=100000; {command}| /* | |
| * Source: https://www.a11yproject.com/checklist/ | |
| * | |
| * Output: | |
| * | |
| * #### Accessibility - Content | |
| * | |
| * - [ ] Use plain language and avoid figures of speech, idioms, and complicated metaphors.<br />[Article: WCAG - 3.1.5 READING LEVEL](https://www.w3.org/WAI/WCAG22/Understanding/reading-level.html)<br /> #nfr--accessibility #accessibility--content | |
| * - [ ] Make sure that <code>button</code>, <code>a</code>, and <code>label</code> element content is unique and descriptive.<br />[Article: WCAG - ](https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships.html)<br /> #nfr--accessibility #accessibility--content | |
| * |
| { | |
| "Conventional Commit Message": { | |
| "body": "${1|build,chore,ci,docs,feature,fix,performance,refactor,revert,style,test|}: ${2:ticket} ${3:message}", | |
| "description": "Conventional commit message in the format: <type>: TICKET-123 descriptive message" | |
| } | |
| } | |
| /** | |
| * $1: type | |
| * Source: https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional |
| const resolvedEls = document.querySelectorAll('[data-action="click:review-thread-collapsible#toggle"]'); | |
| resolvedEls.forEach(el => el.click()) |
| import { kebabCase, startCase } from "lodash"; | |
| /** | |
| * Converts provided string to PascalCase | |
| * @example my-string => MyString | |
| * @example myString => MyString | |
| * @example my_string => MyString | |
| * @example MY_STRING => MyString | |
| */ | |
| export function pascalCase(input: string) { |
| // Type and related utilities for dealing with nil or "falsy" values in Typescript | |
| // Credits: | |
| // • You Don't Know Javascript by Kyle Simpson [Book] | |
| // • Javascript – The Good Parts by Douglas Crockford [Book] | |
| /** | |
| * Value which behaves the same as `false` when evaluated. | |
| */ | |
| export type Nil = undefined | null | false | 0 | -0 | typeof NaN | ""; |
| /** | |
| * Transform an object const map into a literal union. | |
| * | |
| * @example | |
| * const Colors = { | |
| * Red = "red", | |
| * Green = "green", | |
| * Blue = "blue", | |
| * } as const; | |
| * |
| type MapOfArrays< | |
| TKey extends string | number | symbol, | |
| TArrayItem, | |
| TArray extends RelativeIndexable<TArrayItem>, | |
| > = Partial<Record<TKey, TArray>>; | |
| type ReadonlyMapOfArrays< | |
| TKey extends string | number | symbol, | |
| TArrayItem, | |
| > = MapOfArrays<TKey, TArrayItem, ReadonlyArray<TArrayItem>>; |
| import { get, omit } from "lodash"; | |
| import { ComponentType } from "react"; | |
| export function createWithHOC<THOCProps, THOCName extends string>( | |
| HOC: ComponentType<THOCProps>, | |
| hocName: THOCName, | |
| ) { | |
| return function withHOC<TLOCProps extends JSX.IntrinsicAttributes>( | |
| LOC: ComponentType<TLOCProps>, | |
| ) { |