UNPKG

@nx/cypress

Version:

The Nx Plugin for Cypress contains executors and generators allowing your workspace to use the powerful Cypress integration testing capabilities.

23 lines 814 B
import { Tree } from '@nx/devkit'; import { Linter, LinterType } from '@nx/eslint'; export interface CyLinterOptions { project: string; linter: Linter | LinterType; setParserOptionsProject?: boolean; skipPackageJson?: boolean; rootProject?: boolean; js?: boolean; /** * Directory from the project root, where the cypress files will be located. * typically src/ or cypress/ **/ cypressDir: string; /** * overwrite existing eslint rules for the cypress defaults * This is useful when adding linting to a brand new project vs an existing one **/ overwriteExisting?: boolean; addPlugin?: boolean; } export declare function addLinterToCyProject(tree: Tree, options: CyLinterOptions): Promise<() => void>; //# sourceMappingURL=add-linter.d.ts.map