From b6ac7201e924b0ecd7c01e17110155d91e96f89d Mon Sep 17 00:00:00 2001 From: ssube Date: Wed, 11 Sep 2019 19:29:51 -0500 Subject: [PATCH] lint: disable any warnings --- config/tslint.cc.json | 2 +- src/config/args.ts | 2 ++ src/rule.ts | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config/tslint.cc.json b/config/tslint.cc.json index 5ce6ddb..cc00c50 100755 --- a/config/tslint.cc.json +++ b/config/tslint.cc.json @@ -33,7 +33,7 @@ "never-prefix" ], "max-classes-per-file": [ - true, + false, 1 ], "max-file-line-count": 250, diff --git a/src/config/args.ts b/src/config/args.ts index cbb79fc..ed935cd 100644 --- a/src/config/args.ts +++ b/src/config/args.ts @@ -3,6 +3,8 @@ import { Options, showCompletionScript, usage } from 'yargs'; import { RuleSelector } from '../rule'; import { VERSION_INFO } from '../version'; +/* tslint:disable:no-any */ + export const CONFIG_ARGS_NAME = 'config-name'; export const CONFIG_ARGS_PATH = 'config-path'; diff --git a/src/rule.ts b/src/rule.ts index bbc6a3e..1c1a14f 100644 --- a/src/rule.ts +++ b/src/rule.ts @@ -13,6 +13,8 @@ import { VisitorContext } from './visitor/VisitorContext'; import { VisitorError } from './visitor/VisitorError'; import { VisitorResult } from './visitor/VisitorResult'; +/* tslint:disable:no-any */ + export interface RuleData { // metadata desc: string;