@commitlint/resolve-extends

  • Version 17.0.0
  • Published
  • 23 kB
  • 6 dependencies
  • MIT license

Install

npm i @commitlint/resolve-extends
yarn add @commitlint/resolve-extends
pnpm add @commitlint/resolve-extends

Overview

Lint your commit messages

Index

Functions

function resolveExtends

resolveExtends: (
config?: UserConfig,
context?: ResolveExtendsContext
) => UserConfig;

    Interfaces

    interface ResolveExtendsContext

    interface ResolveExtendsContext {}

      property cwd

      cwd?: string;

        property parserPreset

        parserPreset?: unknown;

          property prefix

          prefix?: string;

            property resolveGlobal

            resolveGlobal?: (id: string) => string;

              method require

              require: <T>(id: string) => T;

                method resolve

                resolve: (id: string, ctx?: { prefix?: string; cwd?: string }) => string;

                  Package Files (1)

                  Dependencies (6)

                  Dev Dependencies (2)

                  Peer Dependencies (0)

                  No peer dependencies.

                  Badge

                  To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                  You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@commitlint/resolve-extends.

                  • Markdown
                    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@commitlint/resolve-extends)
                  • HTML
                    <a href="https://www.jsdocs.io/package/@commitlint/resolve-extends"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>