@typescript-eslint/tsconfig-utils
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
Parameter | Type | Description |
---|---|---|
tsserver | typeof ts | - |
configFile | string | the path to the tsconfig.json file, relative to projectDirectory |
projectDirectory? | string | the 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
Name | Type | Default value | Defined in |
---|---|---|---|
noEmit | true | true | compilerOptions.ts:8 |
noUnusedLocals | true | true | compilerOptions.ts:11 |
noUnusedParameters | true | true | compilerOptions.ts:12 |