Skip to content

EslintConfigContext

The context for defining ESLint configurations.

Import:

import { EslintConfigContext } from '@mnaoumov/typescript-dev-toolkit/linters/eslint-config';

Signature:

export class EslintConfigContext

Properties

PropertyTypeDescription
rootConfigFilesstring[]The root configuration files.
scriptFilesstring[]The script files.
sourceFilesstring[]The source files.
sourceFoldersstring[]The folders holding the project's sources, by default src alone. A workspace whose packages each have their own src adds them here, so the rules keyed on a file's name inside a source folder reach those packages too.
testFilesstring[]The test files.

Methods

MethodReturnsDescription
allFiles()string[]The all files.

Links to this page: