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)
- @1stg/lib-config
- @changesets/changelog-github
- @changesets/cli
- @commitlint/cli
- @mozilla/glean
- @pkgr/rollup
- @types/debug
- @types/is-glob
- @types/node
- @types/unist
- dummy.js
- eslint
- eslint-import-resolver-typescript
- eslint-plugin-import
- lint-staged
- npm-run-all2
- prettier
- react
- simple-git-hooks
- size-limit
- size-limit-preset-node-lib
- type-coverage
- typescript
Peer Dependencies (3)
Badge
To add a badge like this oneto 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>
- Updated .
Package analyzed in 2169 ms. - Missing or incorrect documentation? Open an issue for this package.