@commitlint/resolve-extends

  • Version 13.2.0
  • Published
  • 20.6 kB
  • 4 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?: ResolveExtendsConfig,
context?: ResolveExtendsContext
) => ResolvedConfig & ResolveExtendsConfig;

    Interfaces

    interface ResolvedConfig

    interface ResolvedConfig {}

      property parserPreset

      parserPreset?: unknown;

        index signature

        [key: string]: unknown;

          interface ResolveExtendsConfig

          interface ResolveExtendsConfig {}

            property extends

            extends?: string | string[];

              property parserPreset

              parserPreset?: unknown;

                index signature

                [key: string]: unknown;

                  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 (4)

                                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>