2.0.2 • Published 6 months ago
@types/phplint v2.0.2
Installation
npm install --save @types/phplint
Summary
This package contains type definitions for phplint (https://github.com/wayneashleyberry/phplint).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/phplint.
index.d.ts
// Type definitions for phplint 2.0
// Project: https://github.com/wayneashleyberry/phplint
// Definitions by: Adam Thompson-Sharpe <https://github.com/MysteryBlokHed>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="grunt" />
export interface Options {
stdout?: boolean | undefined;
stderr?: boolean | undefined;
limit?: number | undefined;
suppress?: boolean | undefined;
useCache?: boolean | undefined;
cacheDirName?: string | undefined;
tmpDir?: string | undefined;
phpCmd?: string | undefined;
}
export type Callback = (error: string, stdout?: string, stderr?: string) => void;
export function cli(paths: string | readonly string[], options: Options, callback?: Callback): void;
export function lint(files: string | readonly string[], options: Options, callback: Callback): void;
export function lint(files: string | readonly string[], callback: Callback): void;
export function clearCache(cacheDirName: string, tmpDir: string, callback: Callback): void;
export function clearCache(callback: Callback): void;
export function gruntPlugin(grunt: IGrunt): void;
Additional Details
- Last updated: Tue, 25 Jan 2022 20:31:28 GMT
- Dependencies: @types/grunt
- Global values: none
Credits
These definitions were written by Adam Thompson-Sharpe.