Represents a class for linting and formatting code using ESLint and Prettier.

Constructors

Accessors

Methods

Constructors

Accessors

Methods

  • Formats the provided content using ESLint and Prettier.

    Parameters

    • content: string

      The code content to be formatted.

    • filePath: string

      The file path of the code.

    Returns Promise<undefined | string>

    Resolving to the formatted code or undefined if there are issues.

Generated using TypeDoc