From 9108bc64b76430955c1c0902490ac79dcf085ccb Mon Sep 17 00:00:00 2001 From: SuperITMan Date: Wed, 14 Apr 2021 10:34:28 +0200 Subject: [PATCH 1/2] feat(tslint): disable rule typedef for "arrow-call-signature" in all versions --- lib/tslint/5.10.x/tslint.json | 2 +- lib/tslint/5.11.x/tslint.json | 2 +- lib/tslint/5.12.x/tslint.json | 2 +- lib/tslint/5.13.x/tslint.json | 2 +- lib/tslint/5.14.x/tslint.json | 2 +- lib/tslint/5.15.x/tslint.json | 2 +- lib/tslint/5.16.x/tslint.json | 2 +- lib/tslint/5.17.x/tslint.json | 2 +- lib/tslint/5.18.x/tslint.json | 2 +- lib/tslint/5.19.x/tslint.json | 2 +- lib/tslint/5.20.x/tslint.json | 2 +- lib/tslint/6.0.x/tslint.json | 2 +- lib/tslint/6.1.x/tslint.json | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/tslint/5.10.x/tslint.json b/lib/tslint/5.10.x/tslint.json index b9f54c04..6a54fd0f 100644 --- a/lib/tslint/5.10.x/tslint.json +++ b/lib/tslint/5.10.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.11.x/tslint.json b/lib/tslint/5.11.x/tslint.json index b9f54c04..6a54fd0f 100644 --- a/lib/tslint/5.11.x/tslint.json +++ b/lib/tslint/5.11.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.12.x/tslint.json b/lib/tslint/5.12.x/tslint.json index 95d855dd..e8d3fc89 100644 --- a/lib/tslint/5.12.x/tslint.json +++ b/lib/tslint/5.12.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.13.x/tslint.json b/lib/tslint/5.13.x/tslint.json index 265ae265..3782f86c 100644 --- a/lib/tslint/5.13.x/tslint.json +++ b/lib/tslint/5.13.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.14.x/tslint.json b/lib/tslint/5.14.x/tslint.json index f9a6aa3b..702cfc73 100644 --- a/lib/tslint/5.14.x/tslint.json +++ b/lib/tslint/5.14.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.15.x/tslint.json b/lib/tslint/5.15.x/tslint.json index 3db1d6c5..47d321cd 100644 --- a/lib/tslint/5.15.x/tslint.json +++ b/lib/tslint/5.15.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.16.x/tslint.json b/lib/tslint/5.16.x/tslint.json index d16545cf..881a8e37 100644 --- a/lib/tslint/5.16.x/tslint.json +++ b/lib/tslint/5.16.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.17.x/tslint.json b/lib/tslint/5.17.x/tslint.json index ad1cd3e1..ec88a53d 100644 --- a/lib/tslint/5.17.x/tslint.json +++ b/lib/tslint/5.17.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.18.x/tslint.json b/lib/tslint/5.18.x/tslint.json index de66276c..c3d23b50 100644 --- a/lib/tslint/5.18.x/tslint.json +++ b/lib/tslint/5.18.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.19.x/tslint.json b/lib/tslint/5.19.x/tslint.json index 1c7bc863..92220235 100644 --- a/lib/tslint/5.19.x/tslint.json +++ b/lib/tslint/5.19.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.20.x/tslint.json b/lib/tslint/5.20.x/tslint.json index bf0c9caa..ffdd8fc6 100644 --- a/lib/tslint/5.20.x/tslint.json +++ b/lib/tslint/5.20.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/6.0.x/tslint.json b/lib/tslint/6.0.x/tslint.json index ed6de4fa..a5dad4a5 100644 --- a/lib/tslint/6.0.x/tslint.json +++ b/lib/tslint/6.0.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/6.1.x/tslint.json b/lib/tslint/6.1.x/tslint.json index ed6de4fa..a5dad4a5 100644 --- a/lib/tslint/6.1.x/tslint.json +++ b/lib/tslint/6.1.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], "typedef-whitespace": [ false, { From a4397f1c1d49deed70c9d084e2daa95c3e788e4d Mon Sep 17 00:00:00 2001 From: SuperITMan Date: Wed, 14 Apr 2021 10:52:54 +0200 Subject: [PATCH 2/2] feat(tslint): disable rule typedef for "arrow-parameter" in all versions --- lib/tslint/5.10.x/tslint.json | 2 +- lib/tslint/5.11.x/tslint.json | 2 +- lib/tslint/5.12.x/tslint.json | 2 +- lib/tslint/5.13.x/tslint.json | 2 +- lib/tslint/5.14.x/tslint.json | 2 +- lib/tslint/5.15.x/tslint.json | 2 +- lib/tslint/5.16.x/tslint.json | 2 +- lib/tslint/5.17.x/tslint.json | 2 +- lib/tslint/5.18.x/tslint.json | 2 +- lib/tslint/5.19.x/tslint.json | 2 +- lib/tslint/5.20.x/tslint.json | 2 +- lib/tslint/6.0.x/tslint.json | 2 +- lib/tslint/6.1.x/tslint.json | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/tslint/5.10.x/tslint.json b/lib/tslint/5.10.x/tslint.json index 6a54fd0f..5fba92fd 100644 --- a/lib/tslint/5.10.x/tslint.json +++ b/lib/tslint/5.10.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.11.x/tslint.json b/lib/tslint/5.11.x/tslint.json index 6a54fd0f..5fba92fd 100644 --- a/lib/tslint/5.11.x/tslint.json +++ b/lib/tslint/5.11.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.12.x/tslint.json b/lib/tslint/5.12.x/tslint.json index e8d3fc89..6b9d36dd 100644 --- a/lib/tslint/5.12.x/tslint.json +++ b/lib/tslint/5.12.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.13.x/tslint.json b/lib/tslint/5.13.x/tslint.json index 3782f86c..10f69115 100644 --- a/lib/tslint/5.13.x/tslint.json +++ b/lib/tslint/5.13.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.14.x/tslint.json b/lib/tslint/5.14.x/tslint.json index 702cfc73..55763b8c 100644 --- a/lib/tslint/5.14.x/tslint.json +++ b/lib/tslint/5.14.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.15.x/tslint.json b/lib/tslint/5.15.x/tslint.json index 47d321cd..a11fad35 100644 --- a/lib/tslint/5.15.x/tslint.json +++ b/lib/tslint/5.15.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.16.x/tslint.json b/lib/tslint/5.16.x/tslint.json index 881a8e37..1ab0b239 100644 --- a/lib/tslint/5.16.x/tslint.json +++ b/lib/tslint/5.16.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.17.x/tslint.json b/lib/tslint/5.17.x/tslint.json index ec88a53d..ab7545ea 100644 --- a/lib/tslint/5.17.x/tslint.json +++ b/lib/tslint/5.17.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.18.x/tslint.json b/lib/tslint/5.18.x/tslint.json index c3d23b50..3a70d4d0 100644 --- a/lib/tslint/5.18.x/tslint.json +++ b/lib/tslint/5.18.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.19.x/tslint.json b/lib/tslint/5.19.x/tslint.json index 92220235..54b6b4e5 100644 --- a/lib/tslint/5.19.x/tslint.json +++ b/lib/tslint/5.19.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/5.20.x/tslint.json b/lib/tslint/5.20.x/tslint.json index ffdd8fc6..e51ca948 100644 --- a/lib/tslint/5.20.x/tslint.json +++ b/lib/tslint/5.20.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/6.0.x/tslint.json b/lib/tslint/6.0.x/tslint.json index a5dad4a5..5f463108 100644 --- a/lib/tslint/6.0.x/tslint.json +++ b/lib/tslint/6.0.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "property-declaration"], "typedef-whitespace": [ false, { diff --git a/lib/tslint/6.1.x/tslint.json b/lib/tslint/6.1.x/tslint.json index a5dad4a5..5f463108 100644 --- a/lib/tslint/6.1.x/tslint.json +++ b/lib/tslint/6.1.x/tslint.json @@ -14,7 +14,7 @@ "no-namespace": [true, "allow-declarations"], "no-reference": true, "no-var-requires": false, - "typedef": [true, "call-signature", "parameter", "arrow-parameter", "property-declaration"], + "typedef": [true, "call-signature", "parameter", "property-declaration"], "typedef-whitespace": [ false, {