forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulp-coffeelint.d.ts
26 lines (21 loc) · 993 Bytes
/
gulp-coffeelint.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Type definitions for gulp-coffeelint
// Project: https://github.com/janraasch/gulp-coffeelint
// Definitions by: Qubo <https://github.com/tkQubo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
declare module "gulp-coffeelint" {
namespace coffeelint {
interface Coffeelint {
/**
* @param optFile Absolute path of a json file containing options for coffeelint.
* @param opt Options you wish to send to coffeelint. If optFile is given, this will be ignored.
* @param literate Are we dealing with Literate CoffeeScript?
* @param rules Add custom rules to coffeelint.
*/
(optFile?: string, opt?: any, literate?: boolean, rules?: Function[]): NodeJS.ReadWriteStream;
reporter(reporter?: string|Function): NodeJS.ReadWriteStream;
}
}
var coffeelint: coffeelint.Coffeelint;
export = coffeelint;
}