UNPKG

@nx/eslint

Version:

The ESLint plugin for Nx contains executors, generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.

9 lines (8 loc) 338 B
import { type GeneratorCallback, type Tree } from '@nx/devkit'; export type SetupRootEsLintOptions = { unitTestRunner?: string; skipPackageJson?: boolean; rootProject?: boolean; eslintConfigFormat?: 'mjs' | 'cjs'; }; export declare function setupRootEsLint(tree: Tree, options: SetupRootEsLintOptions): GeneratorCallback;