# EslintInitHook Class

Module
import { EslintInitHook } from "@tsed/cli-plugin-eslint/src/hooks/EslintInitHook"
Source/packages/cli-plugin-eslint/src/hooks/EslintInitHook.ts

# Overview

class EslintInitHook {
    protected packageJson: ProjectPackageJson;
    protected rootRenderer: RootRendererService;
    onExec(ctx: InitCmdContext): {
        title: string;
        task: (ctx: any) => Promise<import("rxjs").Observable<unknown>>;
    }[];
    onPostInstall(ctx: InitCmdContext): {
        title: string;
        task: () => any;
    }[];
    addScripts(ctx: InitCmdContext): void;
    addDependencies(ctx: InitCmdContext): void;
    addDevDependencies(ctx: InitCmdContext): void;
}

# Members

protected packageJson: ProjectPackageJson

protected rootRenderer: RootRendererService

onExec(ctx: InitCmdContext): {
     title: string;
     task: (ctx: any) => Promise<import("rxjs").Observable<unknown>>;
 }[];

onPostInstall(ctx: InitCmdContext): {
     title: string;
     task: () => any;
 }[];

addScripts(ctx: InitCmdContext): void

addDependencies(ctx: InitCmdContext): void

addDevDependencies(ctx: InitCmdContext): void