Options
All
  • Public
  • Public/Protected
  • All
Menu

adds unicorn to eslint if neither eslint nor eslintUnicorn are disabled

Hierarchy

  • Component
    • EslintUnicorn

Index

Constructors

  • adds unicorn to eslint if neither eslint nor eslintUnicorn are disabled

    Parameters

    • project: TypeScriptProject

      the project to add to

    • Optional options: Dynamic<EslintUnicornOptions, TypeScriptProject>

      see EslintUnicornOptions

    Returns EslintUnicorn

Properties

project: Project
defaultOptions: Dynamic<DeepRequired<EslintUnicornOptions>, TypeScriptProject> = ...
defaultProjectOptions: Required<Pick<TypeScriptProjectOptions, "eslint">> = ...

Methods

  • postSynthesize(): void
  • Called after synthesis. Order is not guaranteed.

    Returns void

  • preSynthesize(): void
  • Called before synthesis.

    Returns void

  • synthesize(): void
  • Synthesizes files to the project output directory.

    Returns void

Generated using TypeDoc