From f11f5481e2cdeae1541fa56ca616e34ebb70a95e Mon Sep 17 00:00:00 2001 From: glacambre Date: Mon, 1 Apr 2019 18:06:13 +0200 Subject: [PATCH] TSLint: re-enable bool-param-default rule The bool-param-default rule requires all optional boolean parameters to have a default value. --- src/excmds.ts | 8 -------- tslint.json | 1 - 2 files changed, 9 deletions(-) diff --git a/src/excmds.ts b/src/excmds.ts index 3548aa03..a065a9d5 100644 --- a/src/excmds.ts +++ b/src/excmds.ts @@ -2423,14 +2423,6 @@ export async function viewcontainers() { // // {{{ MISC -/** Deprecated - * @hidden - */ -//#background -export function suppress(preventDefault?: boolean, stopPropagation?: boolean) { - mode("ignore") -} - //#background export function version() { fillcmdline_notrail(TRI_VERSION) diff --git a/tslint.json b/tslint.json index 681c727d..39212988 100644 --- a/tslint.json +++ b/tslint.json @@ -3,7 +3,6 @@ "rules": { "align": false, "arrow-parens": false, - "bool-param-default": false, "callable-types": false, "class-name": false, "cognitive-complexity": false,