# @types/phplint

> TypeScript definitions for phplint

Latest version **2.0.2** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/phplint
pnpm add @types/phplint
yarn add @types/phplint
bun add @types/phplint
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2023-11-07 |
| First published | 2022-01-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51403 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/phplint
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/phplint
- npm.io page: https://npm.io/package/@types/phplint

## Dependencies (1)

- [@types/grunt](https://npm.io/package/@types/grunt.md) *

## Recent versions

- 2.0.2 (latest) — 2023-11-07
- 2.0.0 (ts3.8) — 2022-01-25
- 2.0.1 — 2023-10-18

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/phplint/index.d.ts)
````ts
/// <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, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/grunt](https://npmjs.com/package/@types/grunt)

# Credits
These definitions were written by [Adam Thompson-Sharpe](https://github.com/MysteryBlokHed).

---
_Source: https://npm.io/package/@types/phplint · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
