From 8725002bd49f652ea9afe484875897066b141524 Mon Sep 17 00:00:00 2001 From: Andy Date: Tue, 26 Sep 2017 11:12:15 -0700 Subject: [PATCH] Add tslint disables for "no-declare-current-package" (#20044) --- types/applicationinsights-js/tslint.json | 3 ++- types/auth0-lock/tslint.json | 1 + types/chai-oequal/tslint.json | 1 + types/core-js/tslint.json | 1 + types/email-templates/tslint.json | 1 + types/express-flash-2/tslint.json | 1 + types/firebird/tslint.json | 1 + types/gsap/tslint.json | 1 + types/highcharts/tslint.json | 3 +++ types/i18n/tslint.json | 1 + types/material-ui/tslint.json | 1 + types/pixi.js/tslint.json | 1 + types/pouchdb-adapter-fruitdown/tslint.json | 2 ++ types/pouchdb-adapter-http/tslint.json | 2 ++ types/pouchdb-adapter-idb/tslint.json | 2 ++ types/pouchdb-adapter-leveldb/tslint.json | 2 ++ types/pouchdb-adapter-localstorage/tslint.json | 2 ++ types/pouchdb-adapter-memory/tslint.json | 2 ++ types/pouchdb-adapter-node-websql/tslint.json | 8 +++++++- types/pouchdb-adapter-websql/tslint.json | 2 ++ types/pouchdb-browser/tslint.json | 8 +++++++- types/pouchdb-core/tslint.json | 2 ++ types/pouchdb-find/tslint.json | 2 ++ types/pouchdb-http/tslint.json | 8 +++++++- types/pouchdb-mapreduce/tslint.json | 3 ++- types/pouchdb-node/tslint.json | 8 +++++++- types/pouchdb-replication/tslint.json | 8 +++++++- types/pouchdb-upsert/tslint.json | 2 ++ types/pouchdb/tslint.json | 7 ++++++- types/rrule/tslint.json | 1 + types/rx-core-binding/tslint.json | 1 + types/rx-core/tslint.json | 1 + types/rx-lite-aggregates/tslint.json | 1 + types/rx-lite-async/tslint.json | 1 + types/rx-lite-backpressure/tslint.json | 1 + types/rx-lite-coincidence/tslint.json | 1 + types/rx-lite-experimental/tslint.json | 1 + types/rx-lite-joinpatterns/tslint.json | 1 + types/rx-lite-testing/tslint.json | 1 + types/rx-lite-time/tslint.json | 1 + types/rx-lite-virtualtime/tslint.json | 1 + types/rx-lite/tslint.json | 1 + types/rx/tslint.json | 1 + types/swiper/tslint.json | 2 ++ types/webdriverio/tslint.json | 1 + 45 files changed, 95 insertions(+), 8 deletions(-) diff --git a/types/applicationinsights-js/tslint.json b/types/applicationinsights-js/tslint.json index 4b24c7ab0a..e4be61c456 100644 --- a/types/applicationinsights-js/tslint.json +++ b/types/applicationinsights-js/tslint.json @@ -1,8 +1,9 @@ -{ +{ "extends": "dtslint/dt.json", "rules": { // All are TODOs "interface-name": false, + "no-declare-current-package": false, "no-internal-module": false, "no-mergeable-namespace": false, "no-single-declare-module": false, diff --git a/types/auth0-lock/tslint.json b/types/auth0-lock/tslint.json index 51b68d9fc6..a4c0aed57a 100644 --- a/types/auth0-lock/tslint.json +++ b/types/auth0-lock/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { "only-arrow-functions": false, + "no-declare-current-package": false, "no-misused-new": false, "no-single-declare-module": false, "prefer-method-signature": false, diff --git a/types/chai-oequal/tslint.json b/types/chai-oequal/tslint.json index 075fa88707..bd3bb78849 100644 --- a/types/chai-oequal/tslint.json +++ b/types/chai-oequal/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { + "no-declare-current-package": false, "no-single-declare-module": false } } diff --git a/types/core-js/tslint.json b/types/core-js/tslint.json index deb0a8f9b2..a8e29063db 100644 --- a/types/core-js/tslint.json +++ b/types/core-js/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { "ban-types": false, + "no-declare-current-package": false, "no-unnecessary-generics": false } } diff --git a/types/email-templates/tslint.json b/types/email-templates/tslint.json index e765bc9e16..d04b04bc22 100644 --- a/types/email-templates/tslint.json +++ b/types/email-templates/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { + "no-declare-current-package": false, "no-single-declare-module": false } } diff --git a/types/express-flash-2/tslint.json b/types/express-flash-2/tslint.json index 949f3563fd..14414c27b1 100644 --- a/types/express-flash-2/tslint.json +++ b/types/express-flash-2/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { "no-single-declare-module": false, + "no-declare-current-package": false, "strict-export-declare-modifiers": false, "expect": false } diff --git a/types/firebird/tslint.json b/types/firebird/tslint.json index 188dc816e2..4b3c58f2c3 100644 --- a/types/firebird/tslint.json +++ b/types/firebird/tslint.json @@ -3,6 +3,7 @@ "rules": { // TODO "no-boolean-literal-compare": false, + "no-declare-current-package": false, "no-unnecessary-generics": false } } diff --git a/types/gsap/tslint.json b/types/gsap/tslint.json index 25953ef466..6d192e7cef 100644 --- a/types/gsap/tslint.json +++ b/types/gsap/tslint.json @@ -3,6 +3,7 @@ "rules": { // TODOs "dt-header": false, + "no-declare-current-package": false, "no-single-declare-module": false } } diff --git a/types/highcharts/tslint.json b/types/highcharts/tslint.json index df5c6f4ca0..cfc8218eab 100644 --- a/types/highcharts/tslint.json +++ b/types/highcharts/tslint.json @@ -1,11 +1,14 @@ { "extends": "dtslint/dt.json", "rules": { + // TODOs "ban-types": false, "unified-signatures": false, "no-empty-interface": false, "dt-header": false, + "no-declare-current-package": false, "no-object-literal-type-assertion": false, + "no-self-import": false, "no-unnecessary-generics": false } } diff --git a/types/i18n/tslint.json b/types/i18n/tslint.json index eb3e5cc86e..63e9b63ec9 100644 --- a/types/i18n/tslint.json +++ b/types/i18n/tslint.json @@ -3,6 +3,7 @@ "rules": { // TODOs "no-any-union": false, + "no-declare-current-package": false, "no-single-declare-module": false, "prefer-method-signature": false } diff --git a/types/material-ui/tslint.json b/types/material-ui/tslint.json index d462b76190..b8cee022bf 100644 --- a/types/material-ui/tslint.json +++ b/types/material-ui/tslint.json @@ -5,6 +5,7 @@ "ban-types": false, "dt-header": false, "no-any-union": false, + "no-declare-current-package": false, "no-duplicate-imports": false, "no-empty-interface": false, "no-mergeable-namespace": false, diff --git a/types/pixi.js/tslint.json b/types/pixi.js/tslint.json index fb2df83ec9..8738927597 100644 --- a/types/pixi.js/tslint.json +++ b/types/pixi.js/tslint.json @@ -6,6 +6,7 @@ "dt-header": false, "interface-name": false, "no-any-union": false, + "no-declare-current-package": false, "no-empty-interface": false, "no-inferrable-types": false, "no-mergeable-namespace": false, diff --git a/types/pouchdb-adapter-fruitdown/tslint.json b/types/pouchdb-adapter-fruitdown/tslint.json index 71ee04c4e1..53941b68e7 100644 --- a/types/pouchdb-adapter-fruitdown/tslint.json +++ b/types/pouchdb-adapter-fruitdown/tslint.json @@ -1,6 +1,8 @@ { "extends": "dtslint/dt.json", "rules": { + // TODOs + "no-declare-current-package": false, "no-unnecessary-generics": false } } diff --git a/types/pouchdb-adapter-http/tslint.json b/types/pouchdb-adapter-http/tslint.json index 71ee04c4e1..53941b68e7 100644 --- a/types/pouchdb-adapter-http/tslint.json +++ b/types/pouchdb-adapter-http/tslint.json @@ -1,6 +1,8 @@ { "extends": "dtslint/dt.json", "rules": { + // TODOs + "no-declare-current-package": false, "no-unnecessary-generics": false } } diff --git a/types/pouchdb-adapter-idb/tslint.json b/types/pouchdb-adapter-idb/tslint.json index 71ee04c4e1..53941b68e7 100644 --- a/types/pouchdb-adapter-idb/tslint.json +++ b/types/pouchdb-adapter-idb/tslint.json @@ -1,6 +1,8 @@ { "extends": "dtslint/dt.json", "rules": { + // TODOs + "no-declare-current-package": false, "no-unnecessary-generics": false } } diff --git a/types/pouchdb-adapter-leveldb/tslint.json b/types/pouchdb-adapter-leveldb/tslint.json index 71ee04c4e1..53941b68e7 100644 --- a/types/pouchdb-adapter-leveldb/tslint.json +++ b/types/pouchdb-adapter-leveldb/tslint.json @@ -1,6 +1,8 @@ { "extends": "dtslint/dt.json", "rules": { + // TODOs + "no-declare-current-package": false, "no-unnecessary-generics": false } } diff --git a/types/pouchdb-adapter-localstorage/tslint.json b/types/pouchdb-adapter-localstorage/tslint.json index 71ee04c4e1..53941b68e7 100644 --- a/types/pouchdb-adapter-localstorage/tslint.json +++ b/types/pouchdb-adapter-localstorage/tslint.json @@ -1,6 +1,8 @@ { "extends": "dtslint/dt.json", "rules": { + // TODOs + "no-declare-current-package": false, "no-unnecessary-generics": false } } diff --git a/types/pouchdb-adapter-memory/tslint.json b/types/pouchdb-adapter-memory/tslint.json index 71ee04c4e1..53941b68e7 100644 --- a/types/pouchdb-adapter-memory/tslint.json +++ b/types/pouchdb-adapter-memory/tslint.json @@ -1,6 +1,8 @@ { "extends": "dtslint/dt.json", "rules": { + // TODOs + "no-declare-current-package": false, "no-unnecessary-generics": false } } diff --git a/types/pouchdb-adapter-node-websql/tslint.json b/types/pouchdb-adapter-node-websql/tslint.json index 3db14f85ea..0dab80c69a 100644 --- a/types/pouchdb-adapter-node-websql/tslint.json +++ b/types/pouchdb-adapter-node-websql/tslint.json @@ -1 +1,7 @@ -{ "extends": "dtslint/dt.json" } +{ + "extends": "dtslint/dt.json", + "rules": { + // TODOs + "no-declare-current-package": false + } +} diff --git a/types/pouchdb-adapter-websql/tslint.json b/types/pouchdb-adapter-websql/tslint.json index 71ee04c4e1..53941b68e7 100644 --- a/types/pouchdb-adapter-websql/tslint.json +++ b/types/pouchdb-adapter-websql/tslint.json @@ -1,6 +1,8 @@ { "extends": "dtslint/dt.json", "rules": { + // TODOs + "no-declare-current-package": false, "no-unnecessary-generics": false } } diff --git a/types/pouchdb-browser/tslint.json b/types/pouchdb-browser/tslint.json index 3db14f85ea..0dab80c69a 100644 --- a/types/pouchdb-browser/tslint.json +++ b/types/pouchdb-browser/tslint.json @@ -1 +1,7 @@ -{ "extends": "dtslint/dt.json" } +{ + "extends": "dtslint/dt.json", + "rules": { + // TODOs + "no-declare-current-package": false + } +} diff --git a/types/pouchdb-core/tslint.json b/types/pouchdb-core/tslint.json index 71ee04c4e1..53941b68e7 100644 --- a/types/pouchdb-core/tslint.json +++ b/types/pouchdb-core/tslint.json @@ -1,6 +1,8 @@ { "extends": "dtslint/dt.json", "rules": { + // TODOs + "no-declare-current-package": false, "no-unnecessary-generics": false } } diff --git a/types/pouchdb-find/tslint.json b/types/pouchdb-find/tslint.json index d9d49e375e..0512521e8a 100644 --- a/types/pouchdb-find/tslint.json +++ b/types/pouchdb-find/tslint.json @@ -1,6 +1,8 @@ { "extends": "dtslint/dt.json", "rules": { + // TODOs + "no-declare-current-package": false, "no-any-union": false } } diff --git a/types/pouchdb-http/tslint.json b/types/pouchdb-http/tslint.json index 3db14f85ea..462c618bbf 100644 --- a/types/pouchdb-http/tslint.json +++ b/types/pouchdb-http/tslint.json @@ -1 +1,7 @@ -{ "extends": "dtslint/dt.json" } +{ + "extends": "dtslint/dt.json", + "rules": { + // TODOs + "no-declare-current-package": false + } +} diff --git a/types/pouchdb-mapreduce/tslint.json b/types/pouchdb-mapreduce/tslint.json index c92fd86792..ba44da1be1 100644 --- a/types/pouchdb-mapreduce/tslint.json +++ b/types/pouchdb-mapreduce/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { // TODOs - "no-any-union": false + "no-any-union": false, + "no-declare-current-package": false } } diff --git a/types/pouchdb-node/tslint.json b/types/pouchdb-node/tslint.json index 3db14f85ea..462c618bbf 100644 --- a/types/pouchdb-node/tslint.json +++ b/types/pouchdb-node/tslint.json @@ -1 +1,7 @@ -{ "extends": "dtslint/dt.json" } +{ + "extends": "dtslint/dt.json", + "rules": { + // TODOs + "no-declare-current-package": false + } +} diff --git a/types/pouchdb-replication/tslint.json b/types/pouchdb-replication/tslint.json index 3db14f85ea..998776b847 100644 --- a/types/pouchdb-replication/tslint.json +++ b/types/pouchdb-replication/tslint.json @@ -1 +1,7 @@ -{ "extends": "dtslint/dt.json" } +{ + "extends": "dtslint/dt.json", + "rules": { + // TODOs + "no-declare-current-package": false + } +} diff --git a/types/pouchdb-upsert/tslint.json b/types/pouchdb-upsert/tslint.json index 71ee04c4e1..53941b68e7 100644 --- a/types/pouchdb-upsert/tslint.json +++ b/types/pouchdb-upsert/tslint.json @@ -1,6 +1,8 @@ { "extends": "dtslint/dt.json", "rules": { + // TODOs + "no-declare-current-package": false, "no-unnecessary-generics": false } } diff --git a/types/pouchdb/tslint.json b/types/pouchdb/tslint.json index 3db14f85ea..57b8e6b18b 100644 --- a/types/pouchdb/tslint.json +++ b/types/pouchdb/tslint.json @@ -1 +1,6 @@ -{ "extends": "dtslint/dt.json" } +{ + "extends": "dtslint/dt.json", + "rules": { + "no-declare-current-package": false + } +} diff --git a/types/rrule/tslint.json b/types/rrule/tslint.json index fb15919cf4..96de5e929b 100644 --- a/types/rrule/tslint.json +++ b/types/rrule/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { // TODOs + "no-declare-current-package": false, "no-mergeable-namespace": false, "no-unnecessary-qualifier": false } diff --git a/types/rx-core-binding/tslint.json b/types/rx-core-binding/tslint.json index 1e909e7010..9bd93a98fd 100644 --- a/types/rx-core-binding/tslint.json +++ b/types/rx-core-binding/tslint.json @@ -3,6 +3,7 @@ "rules": { // TODOs "dt-header": false, + "no-declare-current-package": false, "no-empty-interface": false, "interface-name": false, "no-single-declare-module": false, diff --git a/types/rx-core/tslint.json b/types/rx-core/tslint.json index ffad78663c..af05206613 100644 --- a/types/rx-core/tslint.json +++ b/types/rx-core/tslint.json @@ -4,6 +4,7 @@ // TODOs "dt-header": false, "unified-signatures": false, + "no-declare-current-package": false, "no-empty-interface": false, "interface-name": false, "no-single-declare-module": false, diff --git a/types/rx-lite-aggregates/tslint.json b/types/rx-lite-aggregates/tslint.json index 277fa239e2..3043cd814e 100644 --- a/types/rx-lite-aggregates/tslint.json +++ b/types/rx-lite-aggregates/tslint.json @@ -4,6 +4,7 @@ // TODO "dt-header": false, "unified-signatures": false, + "no-declare-current-package": false, "no-single-declare-module": false } } diff --git a/types/rx-lite-async/tslint.json b/types/rx-lite-async/tslint.json index 4428b956c7..e168f9e744 100644 --- a/types/rx-lite-async/tslint.json +++ b/types/rx-lite-async/tslint.json @@ -3,6 +3,7 @@ "rules": { // TODOs "max-line-length": false, + "no-declare-current-package": false, "no-object-literal-type-assertion": false, "no-single-declare-module": false } diff --git a/types/rx-lite-backpressure/tslint.json b/types/rx-lite-backpressure/tslint.json index 075fa88707..bd3bb78849 100644 --- a/types/rx-lite-backpressure/tslint.json +++ b/types/rx-lite-backpressure/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { + "no-declare-current-package": false, "no-single-declare-module": false } } diff --git a/types/rx-lite-coincidence/tslint.json b/types/rx-lite-coincidence/tslint.json index 0a71468350..0651031b32 100644 --- a/types/rx-lite-coincidence/tslint.json +++ b/types/rx-lite-coincidence/tslint.json @@ -4,6 +4,7 @@ // TODOs "dt-header": false, "unified-signatures": false, + "no-declare-current-package": false, "no-single-declare-module": false, "no-unnecessary-generics": false } diff --git a/types/rx-lite-experimental/tslint.json b/types/rx-lite-experimental/tslint.json index 9fbb93b086..b1592c7f1a 100644 --- a/types/rx-lite-experimental/tslint.json +++ b/types/rx-lite-experimental/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { "unified-signatures": false, + "no-declare-current-package": false, "no-single-declare-module": false } } diff --git a/types/rx-lite-joinpatterns/tslint.json b/types/rx-lite-joinpatterns/tslint.json index 745fa91ad5..f695a276a2 100644 --- a/types/rx-lite-joinpatterns/tslint.json +++ b/types/rx-lite-joinpatterns/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { "interface-name": false, + "no-declare-current-package": false, "no-empty-interface": false, "no-single-declare-module": false } diff --git a/types/rx-lite-testing/tslint.json b/types/rx-lite-testing/tslint.json index 40726941e3..1e457db5ef 100644 --- a/types/rx-lite-testing/tslint.json +++ b/types/rx-lite-testing/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { + "no-declare-current-package": false, "no-single-declare-module": false, "no-unnecessary-generics": false } diff --git a/types/rx-lite-time/tslint.json b/types/rx-lite-time/tslint.json index 0a71468350..0651031b32 100644 --- a/types/rx-lite-time/tslint.json +++ b/types/rx-lite-time/tslint.json @@ -4,6 +4,7 @@ // TODOs "dt-header": false, "unified-signatures": false, + "no-declare-current-package": false, "no-single-declare-module": false, "no-unnecessary-generics": false } diff --git a/types/rx-lite-virtualtime/tslint.json b/types/rx-lite-virtualtime/tslint.json index ab1a874893..d132ae15db 100644 --- a/types/rx-lite-virtualtime/tslint.json +++ b/types/rx-lite-virtualtime/tslint.json @@ -4,6 +4,7 @@ // TODOs "dt-header": false, "interface-name": false, + "no-declare-current-package": false, "no-empty-interface": false, "no-single-declare-module": false } diff --git a/types/rx-lite/tslint.json b/types/rx-lite/tslint.json index d545154ac5..21bc7a553d 100644 --- a/types/rx-lite/tslint.json +++ b/types/rx-lite/tslint.json @@ -4,6 +4,7 @@ // TODOs "dt-header": false, "unified-signatures": false, + "no-declare-current-package": false, "no-empty-interface": false, "ban-types": false, "interface-name": false, diff --git a/types/rx/tslint.json b/types/rx/tslint.json index 25953ef466..6d192e7cef 100644 --- a/types/rx/tslint.json +++ b/types/rx/tslint.json @@ -3,6 +3,7 @@ "rules": { // TODOs "dt-header": false, + "no-declare-current-package": false, "no-single-declare-module": false } } diff --git a/types/swiper/tslint.json b/types/swiper/tslint.json index 075fa88707..b236115191 100644 --- a/types/swiper/tslint.json +++ b/types/swiper/tslint.json @@ -1,6 +1,8 @@ { "extends": "dtslint/dt.json", "rules": { + // TODOs + "no-declare-current-package": false, "no-single-declare-module": false } } diff --git a/types/webdriverio/tslint.json b/types/webdriverio/tslint.json index c467897cef..1881fbd79d 100644 --- a/types/webdriverio/tslint.json +++ b/types/webdriverio/tslint.json @@ -3,6 +3,7 @@ "rules": { // TODOs "await-promise": false, + "no-declare-current-package": false, "no-single-declare-module": false, "unified-signatures": false, "no-unnecessary-generics": false