EslintConfigContext
The context for defining ESLint configurations.
Import:
import { EslintConfigContext } from '@mnaoumov/typescript-dev-toolkit/linters/eslint-config';Signature:
export class EslintConfigContextProperties
| Property | Type | Description |
|---|---|---|
| rootConfigFiles | string[] | The root configuration files. |
| scriptFiles | string[] | The script files. |
| sourceFiles | string[] | The source files. |
| sourceFolders | string[] | 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. |
| testFiles | string[] | The test files. |
Methods
| Method | Returns | Description |
|---|---|---|
| allFiles() | string[] | The all files. |
Links to this page: