UNPKG

@nx-plugins/linter

Version:

The Nx Plugin for Linter that contains executors, generators, and utilities to use powerful Eslint capabilities.

18 lines (17 loc) 898 B
import { Tree } from '@nrwl/devkit'; import { EslintVueGeneratorSchema } from './schema'; import { Linter } from '@nrwl/linter'; export declare type NormalizedSchema = ReturnType<typeof normalizeOptions>; declare function normalizeOptions(tree: Tree, options: EslintVueGeneratorSchema): { projectRoot: string; projectType: import("@nrwl/devkit").ProjectType; project?: string; unitTestRunner: "vitest" | "none" | "jest"; setParserOptionsProject: boolean; skipFormat: boolean; skipPackageJson?: boolean; linter: Linter.EsLint; }; export declare function eslintVueProjectGenerator(tree: Tree, schema: EslintVueGeneratorSchema): Promise<import("@nrwl/devkit").GeneratorCallback>; export default eslintVueProjectGenerator; export declare const eslintVueProject: (generatorOptions: EslintVueGeneratorSchema) => (tree: any, context: any) => Promise<any>;