initial commit
This commit is contained in:
37
node_modules/gulp-tslint/index.d.ts
generated
vendored
Normal file
37
node_modules/gulp-tslint/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
/// <reference types="node" />
|
||||
export interface PluginOptions {
|
||||
configuration?: any;
|
||||
fix?: boolean;
|
||||
formatter?: string | Function;
|
||||
formattersDirectory?: string;
|
||||
rulesDirectory?: string;
|
||||
tslint?: any;
|
||||
program?: any;
|
||||
}
|
||||
export interface ReportOptions {
|
||||
emitError?: boolean;
|
||||
reportLimit?: number;
|
||||
summarizeFailureOutput?: boolean;
|
||||
allowWarnings?: boolean;
|
||||
}
|
||||
export interface TslintFile {
|
||||
tslint: any;
|
||||
path: string;
|
||||
relative: string;
|
||||
contents: Buffer | any;
|
||||
isStream(): boolean;
|
||||
isNull(): boolean;
|
||||
}
|
||||
export interface TslintPlugin {
|
||||
(pluginOptions?: PluginOptions): NodeJS.ReadWriteStream;
|
||||
report: (options?: ReportOptions) => NodeJS.ReadWriteStream;
|
||||
pluginOptions: PluginOptions;
|
||||
}
|
||||
/**
|
||||
* Main plugin function
|
||||
* @param {PluginOptions} [pluginOptions] contains the options for gulp-tslint.
|
||||
* Optional.
|
||||
* @returns {any}
|
||||
*/
|
||||
declare const tslintPlugin: TslintPlugin;
|
||||
export default tslintPlugin;
|
||||
Reference in New Issue
Block a user