Skip to main content

@typescript-eslint/tsconfig-utils

npm: @typescript-eslint/tsconfig-utils v8.32.1

Utilities for collecting TSConfigs for linting scenarios ✨

The following documentation is auto-generated from source code.

Functions

getParsedConfigFile()

function getParsedConfigFile(
tsserver,
configFile,
projectDirectory?): ParsedCommandLine;

Defined in: getParsedConfigFile.ts:14

Parses a TSConfig file using the same logic as tsserver.

Parameters

ParameterTypeDescription
tsservertypeof ts-
configFilestringthe path to the tsconfig.json file, relative to projectDirectory
projectDirectory?stringthe project directory to use as the CWD, defaults to process.cwd()

Returns

ParsedCommandLine

Variables

CORE_COMPILER_OPTIONS

const CORE_COMPILER_OPTIONS: object;

Defined in: compilerOptions.ts:6

Compiler options required to avoid critical functionality issues

Type declaration

NameTypeDefault valueDefined in
noEmittruetruecompilerOptions.ts:8
noUnusedLocalstruetruecompilerOptions.ts:11
noUnusedParameterstruetruecompilerOptions.ts:12