eslint-import-resolver-typescript

  • Version 3.6.3
  • Published
  • 46.8 kB
  • 8 dependencies
  • ISC license

Install

npm i eslint-import-resolver-typescript
yarn add eslint-import-resolver-typescript
pnpm add eslint-import-resolver-typescript

Overview

This plugin adds `TypeScript` support to `eslint-plugin-import`

Index

Variables

variable defaultConditionNames

const defaultConditionNames: string[];

    variable defaultExtensionAlias

    const defaultExtensionAlias: {
    '.js': string[];
    '.jsx': string[];
    '.cjs': string[];
    '.mjs': string[];
    };

      variable defaultExtensions

      const defaultExtensions: string[];

        variable defaultMainFields

        const defaultMainFields: string[];

          variable interfaceVersion

          const interfaceVersion: number;

            Functions

            function resolve

            resolve: (
            source: string,
            file: string,
            options?: TsResolverOptions | null
            ) => { found: boolean; path?: string | null };

              Interfaces

              interface TsResolverOptions

              interface TsResolverOptions
              extends Omit<ResolveOptions, 'fileSystem' | 'useSyncFileSystemCalls'> {}

                property alwaysTryTypes

                alwaysTryTypes?: boolean;

                  property extensions

                  extensions?: string[];

                    property project

                    project?: string[] | string;

                      Namespaces

                      namespace eslint-module-utils/hash.js

                      module 'eslint-module-utils/hash.js' {}

                        function hashObject

                        hashObject: (object: object, hash?: Hash) => Hash;

                          Package Files (2)

                          Dependencies (8)

                          Dev Dependencies (23)

                          Peer Dependencies (3)

                          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/eslint-import-resolver-typescript.

                          • Markdown
                            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/eslint-import-resolver-typescript)
                          • HTML
                            <a href="https://www.jsdocs.io/package/eslint-import-resolver-typescript"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>