Skip to content

createDefaultEslintConfigContext

Creates the context of a project laid out the conventional way: sources under src, scripts under scripts, tests beside the sources or under __tests__, and the commitlint, ESLint and Vitest configurations at the root.

Import:

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

Signature:

function createDefaultEslintConfigContext(): EslintConfigContext

Returns: EslintConfigContext — The context.