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) 455 B
import { GeneratorCallback, Tree } from '@nx/devkit'; export declare const WORKSPACE_RULES_PROJECT_NAME = "eslint-rules"; export declare const WORKSPACE_PLUGIN_DIR = "tools/eslint-rules"; export interface LintWorkspaceRulesProjectGeneratorOptions { skipFormat?: boolean; addPlugin?: boolean; } export declare function lintWorkspaceRulesProjectGenerator(tree: Tree, options?: LintWorkspaceRulesProjectGeneratorOptions): Promise<GeneratorCallback>;