diff --git a/scripts/fix-tslint.ts b/scripts/fix-tslint.ts index 419ebcd0de..36cb23ebbd 100644 --- a/scripts/fix-tslint.ts +++ b/scripts/fix-tslint.ts @@ -39,7 +39,16 @@ function fix(config: any): any { const out: any = {}; for (const key in config) { let value = config[key]; - out[key] = value; + out[key] = key === "rules" ? fixRules(value) : value; } return out; } + +function fixRules(rules: any): any { + const out: any = {}; + for (const key in rules) { + out[key] = rules[key]; + } + return out; +} + diff --git a/types/aframe/tslint.json b/types/aframe/tslint.json index d88586e5bd..3db14f85ea 100644 --- a/types/aframe/tslint.json +++ b/types/aframe/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} +{ "extends": "dtslint/dt.json" } diff --git a/types/angular-resource/tslint.json b/types/angular-resource/tslint.json index ff19c22fa3..b4b1464296 100644 --- a/types/angular-resource/tslint.json +++ b/types/angular-resource/tslint.json @@ -8,6 +8,7 @@ "no-object-literal-type-assertion": false, "ban-types": false, "space-before-function-paren": false, - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/bluebird-global/tslint.json b/types/bluebird-global/tslint.json index b936b5e2b9..1d81af2349 100644 --- a/types/bluebird-global/tslint.json +++ b/types/bluebird-global/tslint.json @@ -5,6 +5,7 @@ "no-empty-interface": false, "array-type": false, "unified-signatures": false, - "ban-types": false + "ban-types": false, + "no-unnecessary-generics": false } } diff --git a/types/bunnymq/tslint.json b/types/bunnymq/tslint.json index f93cf8562a..3db14f85ea 100644 --- a/types/bunnymq/tslint.json +++ b/types/bunnymq/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} +{ "extends": "dtslint/dt.json" } diff --git a/types/chocolatechipjs/tslint.json b/types/chocolatechipjs/tslint.json index 462a0000f7..ce367ade18 100644 --- a/types/chocolatechipjs/tslint.json +++ b/types/chocolatechipjs/tslint.json @@ -6,6 +6,7 @@ "ban-types": false, "dt-header": false, "no-any-union": false, - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/continuation-local-storage/tslint.json b/types/continuation-local-storage/tslint.json index 4b7077d438..0c26acc12f 100644 --- a/types/continuation-local-storage/tslint.json +++ b/types/continuation-local-storage/tslint.json @@ -7,6 +7,7 @@ "one-variable-per-declaration": false, "space-before-function-paren": false, "no-var": false, - "interface-over-type-literal": false + "interface-over-type-literal": false, + "no-unnecessary-generics": false } } diff --git a/types/core-js/tslint.json b/types/core-js/tslint.json index a62d0d4e68..deb0a8f9b2 100644 --- a/types/core-js/tslint.json +++ b/types/core-js/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { - "ban-types": false + "ban-types": false, + "no-unnecessary-generics": false } } diff --git a/types/cwise-parser/tslint.json b/types/cwise-parser/tslint.json index 531fb4ef87..3db14f85ea 100644 --- a/types/cwise-parser/tslint.json +++ b/types/cwise-parser/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} \ No newline at end of file +{ "extends": "dtslint/dt.json" } diff --git a/types/d3-array/tslint.json b/types/d3-array/tslint.json index 08b1465cd6..54efb0b84e 100644 --- a/types/d3-array/tslint.json +++ b/types/d3-array/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-axis/tslint.json b/types/d3-axis/tslint.json index 08b1465cd6..54efb0b84e 100644 --- a/types/d3-axis/tslint.json +++ b/types/d3-axis/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-brush/tslint.json b/types/d3-brush/tslint.json index 08b1465cd6..54efb0b84e 100644 --- a/types/d3-brush/tslint.json +++ b/types/d3-brush/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-chord/tslint.json b/types/d3-chord/tslint.json index 08b1465cd6..54efb0b84e 100644 --- a/types/d3-chord/tslint.json +++ b/types/d3-chord/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-collection/tslint.json b/types/d3-collection/tslint.json index 08b1465cd6..54efb0b84e 100644 --- a/types/d3-collection/tslint.json +++ b/types/d3-collection/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-contour/tslint.json b/types/d3-contour/tslint.json index 08016de61a..54efb0b84e 100644 --- a/types/d3-contour/tslint.json +++ b/types/d3-contour/tslint.json @@ -1,6 +1,7 @@ { - "extends": "dtslint/dt.json", - "rules": { - "unified-signatures": false - } + "extends": "dtslint/dt.json", + "rules": { + "unified-signatures": false, + "no-unnecessary-generics": false + } } diff --git a/types/d3-dispatch/tslint.json b/types/d3-dispatch/tslint.json index 08b1465cd6..54efb0b84e 100644 --- a/types/d3-dispatch/tslint.json +++ b/types/d3-dispatch/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-drag/tslint.json b/types/d3-drag/tslint.json index b8825c1674..26ee29cf50 100644 --- a/types/d3-drag/tslint.json +++ b/types/d3-drag/tslint.json @@ -3,6 +3,7 @@ "rules": { // TODO "no-this-assignment": false, - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-force/tslint.json b/types/d3-force/tslint.json index b8825c1674..26ee29cf50 100644 --- a/types/d3-force/tslint.json +++ b/types/d3-force/tslint.json @@ -3,6 +3,7 @@ "rules": { // TODO "no-this-assignment": false, - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-geo/tslint.json b/types/d3-geo/tslint.json index 680a816ce2..3020672011 100644 --- a/types/d3-geo/tslint.json +++ b/types/d3-geo/tslint.json @@ -4,6 +4,10 @@ // TODO "no-this-assignment": false, "unified-signatures": false, - "max-line-length": [false, 200] + "max-line-length": [ + false, + 200 + ], + "no-unnecessary-generics": false } } diff --git a/types/d3-quadtree/tslint.json b/types/d3-quadtree/tslint.json index 38aa3fb5b3..9e3df4b94a 100644 --- a/types/d3-quadtree/tslint.json +++ b/types/d3-quadtree/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { "unified-signatures": false, - "no-empty-interface": false + "no-empty-interface": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-sankey/tslint.json b/types/d3-sankey/tslint.json index 08b1465cd6..54efb0b84e 100644 --- a/types/d3-sankey/tslint.json +++ b/types/d3-sankey/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-scale/tslint.json b/types/d3-scale/tslint.json index 604d5950cf..9846c79a4d 100644 --- a/types/d3-scale/tslint.json +++ b/types/d3-scale/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { "unified-signatures": false, - "callable-types": false + "callable-types": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-selection/tslint.json b/types/d3-selection/tslint.json index b8825c1674..26ee29cf50 100644 --- a/types/d3-selection/tslint.json +++ b/types/d3-selection/tslint.json @@ -3,6 +3,7 @@ "rules": { // TODO "no-this-assignment": false, - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-shape/tslint.json b/types/d3-shape/tslint.json index 108ab49c45..b1ba182ba6 100644 --- a/types/d3-shape/tslint.json +++ b/types/d3-shape/tslint.json @@ -4,6 +4,7 @@ // TODO "no-this-assignment": false, "unified-signatures": false, - "callable-types": false + "callable-types": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-transition/tslint.json b/types/d3-transition/tslint.json index b8825c1674..26ee29cf50 100644 --- a/types/d3-transition/tslint.json +++ b/types/d3-transition/tslint.json @@ -3,6 +3,7 @@ "rules": { // TODO "no-this-assignment": false, - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-voronoi/tslint.json b/types/d3-voronoi/tslint.json index 08b1465cd6..54efb0b84e 100644 --- a/types/d3-voronoi/tslint.json +++ b/types/d3-voronoi/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/d3-zoom/tslint.json b/types/d3-zoom/tslint.json index b8825c1674..26ee29cf50 100644 --- a/types/d3-zoom/tslint.json +++ b/types/d3-zoom/tslint.json @@ -3,6 +3,7 @@ "rules": { // TODO "no-this-assignment": false, - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/delay/tslint.json b/types/delay/tslint.json index 21fecfef93..bf610ae17f 100644 --- a/types/delay/tslint.json +++ b/types/delay/tslint.json @@ -1,7 +1,8 @@ { - "extends": "dtslint/dt.json", - "rules": { - // TODO - "await-promise": false - } + "extends": "dtslint/dt.json", + "rules": { + // TODO + "await-promise": false, + "no-unnecessary-generics": false + } } diff --git a/types/documentdb/tslint.json b/types/documentdb/tslint.json index 2750cc0197..3db14f85ea 100644 --- a/types/documentdb/tslint.json +++ b/types/documentdb/tslint.json @@ -1 +1 @@ -{ "extends": "dtslint/dt.json" } \ No newline at end of file +{ "extends": "dtslint/dt.json" } diff --git a/types/enzyme/tslint.json b/types/enzyme/tslint.json index 1c1a051bd3..67c3be0ed0 100644 --- a/types/enzyme/tslint.json +++ b/types/enzyme/tslint.json @@ -1,8 +1,9 @@ { - "extends": "dtslint/dt.json", - "rules": { - // TODOs - "dt-header": false, - "no-duplicate-imports": false - } + "extends": "dtslint/dt.json", + "rules": { + // TODOs + "dt-header": false, + "no-duplicate-imports": false, + "no-unnecessary-generics": false + } } diff --git a/types/expect/tslint.json b/types/expect/tslint.json index 420d80e8f3..00e5a6b547 100644 --- a/types/expect/tslint.json +++ b/types/expect/tslint.json @@ -1,8 +1,9 @@ { - "extends": "dtslint/dt.json", - "rules": { - // TODO - "no-void-expression": false, - "no-duplicate-imports": false - } + "extends": "dtslint/dt.json", + "rules": { + // TODO + "no-void-expression": false, + "no-duplicate-imports": false, + "no-unnecessary-generics": false + } } diff --git a/types/firebird/tslint.json b/types/firebird/tslint.json index b63c1c3846..188dc816e2 100644 --- a/types/firebird/tslint.json +++ b/types/firebird/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { // TODO - "no-boolean-literal-compare": false + "no-boolean-literal-compare": false, + "no-unnecessary-generics": false } } diff --git a/types/google-protobuf/tslint.json b/types/google-protobuf/tslint.json index a88c66859c..b04385bb7a 100644 --- a/types/google-protobuf/tslint.json +++ b/types/google-protobuf/tslint.json @@ -1,16 +1,17 @@ { - "extends": "dtslint/dt.json", - "rules": { - "align": false, - "array-type": false, - "new-parens": false, - "no-consecutive-blank-lines": false, - "interface-over-type-literal": false, - "no-relative-import-in-test": false, - "no-var": false, - "prefer-declare-function": false, - "semicolon": false, - "strict-export-declare-modifiers": false, - "trim-file": false - } + "extends": "dtslint/dt.json", + "rules": { + "align": false, + "array-type": false, + "new-parens": false, + "no-consecutive-blank-lines": false, + "interface-over-type-literal": false, + "no-relative-import-in-test": false, + "no-var": false, + "prefer-declare-function": false, + "semicolon": false, + "strict-export-declare-modifiers": false, + "trim-file": false, + "no-unnecessary-generics": false + } } diff --git a/types/google.analytics/tslint.json b/types/google.analytics/tslint.json index 57e94004d5..d802652174 100644 --- a/types/google.analytics/tslint.json +++ b/types/google.analytics/tslint.json @@ -3,6 +3,7 @@ "rules": { "dt-header": false, "ban-types": false, - "unified-signatures": false + "unified-signatures": false, + "no-unnecessary-generics": false } } diff --git a/types/highcharts/tslint.json b/types/highcharts/tslint.json index d8b67d5d1f..df5c6f4ca0 100644 --- a/types/highcharts/tslint.json +++ b/types/highcharts/tslint.json @@ -1,10 +1,11 @@ { - "extends": "dtslint/dt.json", - "rules": { - "ban-types": false, - "unified-signatures": false, - "no-empty-interface": false, - "dt-header": false, - "no-object-literal-type-assertion": false - } + "extends": "dtslint/dt.json", + "rules": { + "ban-types": false, + "unified-signatures": false, + "no-empty-interface": false, + "dt-header": false, + "no-object-literal-type-assertion": false, + "no-unnecessary-generics": false + } } diff --git a/types/jest/tslint.json b/types/jest/tslint.json index a839e8aa9f..86d51194e9 100644 --- a/types/jest/tslint.json +++ b/types/jest/tslint.json @@ -4,6 +4,7 @@ // TODOs "dt-header": false, "no-mergeable-namespace": false, - "no-void-expression": false + "no-void-expression": false, + "no-unnecessary-generics": false } } diff --git a/types/jquery.tools/tslint.json b/types/jquery.tools/tslint.json index 26a0c302a8..9d0759ec89 100644 --- a/types/jquery.tools/tslint.json +++ b/types/jquery.tools/tslint.json @@ -1,7 +1,8 @@ { - "extends": "dtslint/dt.json", - "rules": { - // TODO - "no-void-expression": false - } + "extends": "dtslint/dt.json", + "rules": { + // TODO + "no-void-expression": false, + "no-unnecessary-generics": false + } } diff --git a/types/jwt-decode/tslint.json b/types/jwt-decode/tslint.json index f93cf8562a..3db14f85ea 100644 --- a/types/jwt-decode/tslint.json +++ b/types/jwt-decode/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} +{ "extends": "dtslint/dt.json" } diff --git a/types/jwt-decode/v1/tslint.json b/types/jwt-decode/v1/tslint.json index f93cf8562a..3db14f85ea 100644 --- a/types/jwt-decode/v1/tslint.json +++ b/types/jwt-decode/v1/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} +{ "extends": "dtslint/dt.json" } diff --git a/types/kii-cloud-sdk/tslint.json b/types/kii-cloud-sdk/tslint.json index 65c83fb1e3..c4fd1ce0bb 100644 --- a/types/kii-cloud-sdk/tslint.json +++ b/types/kii-cloud-sdk/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { - "dt-header": false + "dt-header": false, + "no-unnecessary-generics": false } } diff --git a/types/moonjs/tslint.json b/types/moonjs/tslint.json index 2750cc0197..3db14f85ea 100644 --- a/types/moonjs/tslint.json +++ b/types/moonjs/tslint.json @@ -1 +1 @@ -{ "extends": "dtslint/dt.json" } \ No newline at end of file +{ "extends": "dtslint/dt.json" } diff --git a/types/nedb/tslint.json b/types/nedb/tslint.json index f93cf8562a..3db14f85ea 100644 --- a/types/nedb/tslint.json +++ b/types/nedb/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} +{ "extends": "dtslint/dt.json" } diff --git a/types/node-cache/tslint.json b/types/node-cache/tslint.json index ad5a9e6918..6c1ac808bb 100644 --- a/types/node-cache/tslint.json +++ b/types/node-cache/tslint.json @@ -1,7 +1,8 @@ { - "extends": "dtslint/dt.json", - "rules": { - // TODO - "prefer-const": false - } -} \ No newline at end of file + "extends": "dtslint/dt.json", + "rules": { + // TODO + "prefer-const": false, + "no-unnecessary-generics": false + } +} diff --git a/types/node-ral/tslint.json b/types/node-ral/tslint.json index 96427e1ebe..5b248e6b6b 100644 --- a/types/node-ral/tslint.json +++ b/types/node-ral/tslint.json @@ -3,6 +3,7 @@ "rules": { // TODOs "no-object-literal-type-assertion": false, - "only-arrow-functions": false - } -} \ No newline at end of file + "only-arrow-functions": false, + "no-unnecessary-generics": false + } +} diff --git a/types/parsimmon/tslint.json b/types/parsimmon/tslint.json index a2a1386037..e6f86832c0 100644 --- a/types/parsimmon/tslint.json +++ b/types/parsimmon/tslint.json @@ -1,8 +1,9 @@ { - "extends": "dtslint/dt.json", - "rules": { - // TODOs - "no-unnecessary-qualifier": false, - "no-boolean-literal-compare": false - } + "extends": "dtslint/dt.json", + "rules": { + // TODOs + "no-unnecessary-qualifier": false, + "no-boolean-literal-compare": false, + "no-unnecessary-generics": false + } } diff --git a/types/prosemirror-collab/tslint.json b/types/prosemirror-collab/tslint.json index f93cf8562a..3db14f85ea 100644 --- a/types/prosemirror-collab/tslint.json +++ b/types/prosemirror-collab/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} +{ "extends": "dtslint/dt.json" } diff --git a/types/prosemirror-history/tslint.json b/types/prosemirror-history/tslint.json index f93cf8562a..3db14f85ea 100644 --- a/types/prosemirror-history/tslint.json +++ b/types/prosemirror-history/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} +{ "extends": "dtslint/dt.json" } diff --git a/types/prosemirror-keymap/tslint.json b/types/prosemirror-keymap/tslint.json index f93cf8562a..3db14f85ea 100644 --- a/types/prosemirror-keymap/tslint.json +++ b/types/prosemirror-keymap/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} +{ "extends": "dtslint/dt.json" } diff --git a/types/prosemirror-state/tslint.json b/types/prosemirror-state/tslint.json index 9e23990c45..6371e80ee3 100644 --- a/types/prosemirror-state/tslint.json +++ b/types/prosemirror-state/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { // TODO - "no-object-literal-type-assertion": false + "no-object-literal-type-assertion": false, + "no-unnecessary-generics": false } } diff --git a/types/react-native-google-analytics-bridge/tslint.json b/types/react-native-google-analytics-bridge/tslint.json index d88586e5bd..3db14f85ea 100644 --- a/types/react-native-google-analytics-bridge/tslint.json +++ b/types/react-native-google-analytics-bridge/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} +{ "extends": "dtslint/dt.json" } diff --git a/types/react-native/tslint.json b/types/react-native/tslint.json index 39e23d7cb1..57266aecfb 100644 --- a/types/react-native/tslint.json +++ b/types/react-native/tslint.json @@ -21,6 +21,7 @@ "semicolon": false, "space-within-parens": false, "strict-export-declare-modifiers": false, - "use-default-type-parameter": false + "use-default-type-parameter": false, + "no-unnecessary-generics": false } } diff --git a/types/react-navigation/tslint.json b/types/react-navigation/tslint.json index 07cc01e66e..28a2376a18 100644 --- a/types/react-navigation/tslint.json +++ b/types/react-navigation/tslint.json @@ -1,23 +1,24 @@ { - "extends": "dtslint/dt.json", - "rules": { - // Lowercase `object` is available in TypeScript 2.2 only. - "ban-types": false, - // Below are all TODO - "align": false, - "array-type": false, - "comment-format": false, - "interface-over-type-literal": false, - "jsdoc-format": false, - "no-misused-new": false, - "no-consecutive-blank-lines": false, - "no-empty-interface": false, - "no-object-literal-type-assertion": false, - "no-padding": false, - "no-var": false, - "prefer-declare-function": false, - "prefer-method-signature": false, - "semicolon": false, - "strict-export-declare-modifiers": false - } + "extends": "dtslint/dt.json", + "rules": { + // Lowercase `object` is available in TypeScript 2.2 only. + "ban-types": false, + // Below are all TODO + "align": false, + "array-type": false, + "comment-format": false, + "interface-over-type-literal": false, + "jsdoc-format": false, + "no-misused-new": false, + "no-consecutive-blank-lines": false, + "no-empty-interface": false, + "no-object-literal-type-assertion": false, + "no-padding": false, + "no-var": false, + "prefer-declare-function": false, + "prefer-method-signature": false, + "semicolon": false, + "strict-export-declare-modifiers": false, + "no-unnecessary-generics": false + } } diff --git a/types/react-router-config/tslint.json b/types/react-router-config/tslint.json index 1bdaea429e..5999f81998 100644 --- a/types/react-router-config/tslint.json +++ b/types/react-router-config/tslint.json @@ -1,6 +1,7 @@ { "extends": "dtslint/dt.json", "rules": { - "void-return": false + "void-return": false, + "no-unnecessary-generics": false } } diff --git a/types/react-router-dom/tslint.json b/types/react-router-dom/tslint.json index e765bc9e16..40726941e3 100644 --- a/types/react-router-dom/tslint.json +++ b/types/react-router-dom/tslint.json @@ -1,6 +1,7 @@ { - "extends": "dtslint/dt.json", - "rules": { - "no-single-declare-module": false - } + "extends": "dtslint/dt.json", + "rules": { + "no-single-declare-module": false, + "no-unnecessary-generics": false + } } diff --git a/types/react-router/tslint.json b/types/react-router/tslint.json index 2750cc0197..3db14f85ea 100644 --- a/types/react-router/tslint.json +++ b/types/react-router/tslint.json @@ -1 +1 @@ -{ "extends": "dtslint/dt.json" } \ No newline at end of file +{ "extends": "dtslint/dt.json" } diff --git a/types/react-router/v2/tslint.json b/types/react-router/v2/tslint.json index 26dae606b6..ff9716ad87 100644 --- a/types/react-router/v2/tslint.json +++ b/types/react-router/v2/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { "ban-types": false, - "no-empty-interface": false + "no-empty-interface": false, + "no-unnecessary-generics": false } } diff --git a/types/react-router/v3/tslint.json b/types/react-router/v3/tslint.json index 440efbd687..f32a9427f5 100644 --- a/types/react-router/v3/tslint.json +++ b/types/react-router/v3/tslint.json @@ -1,7 +1,8 @@ { - "extends": "dtslint/dt.json", - "rules": { - // TODO - "no-duplicate-imports": false - } + "extends": "dtslint/dt.json", + "rules": { + // TODO + "no-duplicate-imports": false, + "no-unnecessary-generics": false + } } diff --git a/types/redux-auth-wrapper/tslint.json b/types/redux-auth-wrapper/tslint.json index 440efbd687..f32a9427f5 100644 --- a/types/redux-auth-wrapper/tslint.json +++ b/types/redux-auth-wrapper/tslint.json @@ -1,7 +1,8 @@ { - "extends": "dtslint/dt.json", - "rules": { - // TODO - "no-duplicate-imports": false - } + "extends": "dtslint/dt.json", + "rules": { + // TODO + "no-duplicate-imports": false, + "no-unnecessary-generics": false + } } diff --git a/types/redux-auth-wrapper/v1/tslint.json b/types/redux-auth-wrapper/v1/tslint.json index 091817f734..f32a9427f5 100644 --- a/types/redux-auth-wrapper/v1/tslint.json +++ b/types/redux-auth-wrapper/v1/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { // TODO - "no-duplicate-imports": false + "no-duplicate-imports": false, + "no-unnecessary-generics": false } } diff --git a/types/redux-localstorage/tslint.json b/types/redux-localstorage/tslint.json index 26dae606b6..ff9716ad87 100644 --- a/types/redux-localstorage/tslint.json +++ b/types/redux-localstorage/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { "ban-types": false, - "no-empty-interface": false + "no-empty-interface": false, + "no-unnecessary-generics": false } } diff --git a/types/redux-persist-transform-encrypt/tslint.json b/types/redux-persist-transform-encrypt/tslint.json index f93cf8562a..3db14f85ea 100644 --- a/types/redux-persist-transform-encrypt/tslint.json +++ b/types/redux-persist-transform-encrypt/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} +{ "extends": "dtslint/dt.json" } diff --git a/types/redux-persist-transform-filter/tslint.json b/types/redux-persist-transform-filter/tslint.json index f93cf8562a..3db14f85ea 100644 --- a/types/redux-persist-transform-filter/tslint.json +++ b/types/redux-persist-transform-filter/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} +{ "extends": "dtslint/dt.json" } diff --git a/types/rewire/tslint.json b/types/rewire/tslint.json index 30a1bdde2e..3db14f85ea 100644 --- a/types/rewire/tslint.json +++ b/types/rewire/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} \ No newline at end of file +{ "extends": "dtslint/dt.json" } diff --git a/types/riot/tslint.json b/types/riot/tslint.json index d88586e5bd..3db14f85ea 100644 --- a/types/riot/tslint.json +++ b/types/riot/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} +{ "extends": "dtslint/dt.json" } diff --git a/types/rx-core-binding/tslint.json b/types/rx-core-binding/tslint.json index 4541a9699c..1e909e7010 100644 --- a/types/rx-core-binding/tslint.json +++ b/types/rx-core-binding/tslint.json @@ -5,6 +5,7 @@ "dt-header": false, "no-empty-interface": false, "interface-name": false, - "no-single-declare-module": false + "no-single-declare-module": false, + "no-unnecessary-generics": false } } diff --git a/types/rx-core/tslint.json b/types/rx-core/tslint.json index 0b05bed81d..ffad78663c 100644 --- a/types/rx-core/tslint.json +++ b/types/rx-core/tslint.json @@ -6,6 +6,7 @@ "unified-signatures": false, "no-empty-interface": false, "interface-name": false, - "no-single-declare-module": false + "no-single-declare-module": false, + "no-unnecessary-generics": false } } diff --git a/types/rx-dom/tslint.json b/types/rx-dom/tslint.json index 9dd6362311..8fa8ca2a4c 100644 --- a/types/rx-dom/tslint.json +++ b/types/rx-dom/tslint.json @@ -6,6 +6,7 @@ // it would be particualrly strange to type these functions differently // @ above comment: Use a specific type such as `(x: string) => boolean` instead of just `Function` "ban-types": false, - "no-unnecessary-qualifier": false + "no-unnecessary-qualifier": false, + "no-unnecessary-generics": false } } diff --git a/types/rx-lite-coincidence/tslint.json b/types/rx-lite-coincidence/tslint.json index 6022355a23..0a71468350 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-single-declare-module": false + "no-single-declare-module": false, + "no-unnecessary-generics": false } } diff --git a/types/rx-lite-testing/tslint.json b/types/rx-lite-testing/tslint.json index 075fa88707..40726941e3 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-single-declare-module": 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 6022355a23..0a71468350 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-single-declare-module": false + "no-single-declare-module": false, + "no-unnecessary-generics": false } } diff --git a/types/rx-lite/tslint.json b/types/rx-lite/tslint.json index a10ea384b1..d545154ac5 100644 --- a/types/rx-lite/tslint.json +++ b/types/rx-lite/tslint.json @@ -10,6 +10,7 @@ "array-type": false, "max-line-length": false, "no-mergeable-namespace": false, - "no-single-declare-module": false + "no-single-declare-module": false, + "no-unnecessary-generics": false } } diff --git a/types/steed/tslint.json b/types/steed/tslint.json index dac87a5a1c..9e8a3fd572 100644 --- a/types/steed/tslint.json +++ b/types/steed/tslint.json @@ -3,6 +3,7 @@ "rules": { // TODOs "ban-types": false, - "no-unnecessary-qualifier": false + "no-unnecessary-qualifier": false, + "no-unnecessary-generics": false } } diff --git a/types/sumo-logger/tslint.json b/types/sumo-logger/tslint.json index f93cf8562a..3db14f85ea 100644 --- a/types/sumo-logger/tslint.json +++ b/types/sumo-logger/tslint.json @@ -1,3 +1 @@ -{ - "extends": "dtslint/dt.json" -} +{ "extends": "dtslint/dt.json" } diff --git a/types/webdriverio/tslint.json b/types/webdriverio/tslint.json index 06f1f46742..c467897cef 100644 --- a/types/webdriverio/tslint.json +++ b/types/webdriverio/tslint.json @@ -1,9 +1,10 @@ { - "extends": "dtslint/dt.json", - "rules": { - // TODOs - "await-promise": false, - "no-single-declare-module": false, - "unified-signatures": false - } + "extends": "dtslint/dt.json", + "rules": { + // TODOs + "await-promise": false, + "no-single-declare-module": false, + "unified-signatures": false, + "no-unnecessary-generics": false + } } diff --git a/types/wu/tslint.json b/types/wu/tslint.json index 26a0c302a8..9d0759ec89 100644 --- a/types/wu/tslint.json +++ b/types/wu/tslint.json @@ -1,7 +1,8 @@ { - "extends": "dtslint/dt.json", - "rules": { - // TODO - "no-void-expression": false - } + "extends": "dtslint/dt.json", + "rules": { + // TODO + "no-void-expression": false, + "no-unnecessary-generics": false + } } diff --git a/types/xrm/tslint.json b/types/xrm/tslint.json index 5e4fd81be5..f4cc3f2d22 100644 --- a/types/xrm/tslint.json +++ b/types/xrm/tslint.json @@ -8,12 +8,16 @@ true, "spaces" ], - "max-line-length": [true, 250], + "max-line-length": [ + true, + 250 + ], "no-unnecessary-type-assertion": false, "quotemark": [ true, "double" ], - "jsdoc-format": true + "jsdoc-format": true, + "no-unnecessary-generics": false } } diff --git a/types/yargs/tslint.json b/types/yargs/tslint.json index fd2834499c..08337e85f7 100644 --- a/types/yargs/tslint.json +++ b/types/yargs/tslint.json @@ -1,6 +1,7 @@ { - "extends": "dtslint/dt.json", - "rules": { - "no-object-literal-type-assertion": false - } + "extends": "dtslint/dt.json", + "rules": { + "no-object-literal-type-assertion": false, + "no-unnecessary-generics": false + } } diff --git a/types/zui/tslint.json b/types/zui/tslint.json index b1439230db..e6dc9b7f2f 100644 --- a/types/zui/tslint.json +++ b/types/zui/tslint.json @@ -2,6 +2,7 @@ "extends": "dtslint/dt.json", "rules": { // TODO - "no-any-union": false + "no-any-union": false, + "no-unnecessary-generics": false } }