diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S1128.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S1128.json index 89667dbe5f7..4ac9a46847d 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S1128.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S1128.json @@ -14,7 +14,8 @@ }, "tags": [ "es2015", - "unused" + "unused", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1128", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S1154.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S1154.json index ecea711b02d..33a6f6ab761 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S1154.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S1154.json @@ -6,7 +6,9 @@ "func": "Constant\/Issue", "constantCost": "20min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1154", "sqKey": "S1154", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S131.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S131.json index d0bf521d50e..da742a0615e 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S131.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S131.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "cwe" + "cwe", + "type-dependent" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-131", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S1874.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S1874.json index 242ae581190..e6c17adb075 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S1874.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S1874.json @@ -14,7 +14,8 @@ }, "tags": [ "cwe", - "obsolete" + "obsolete", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1874", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2201.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2201.json index ec57c6cd945..860e8ca9306 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2201.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2201.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2201", "sqKey": "S2201", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2234.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2234.json index 83c196de23c..290e9ef0d7c 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2234.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2234.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2234", "sqKey": "S2234", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2259.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2259.json index e0531b040c5..272286d92be 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2259.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2259.json @@ -13,7 +13,8 @@ "constantCost": "10min" }, "tags": [ - "cwe" + "cwe", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2259", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2639.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2639.json index 34d2a760dcd..5672f5ad5c4 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2639.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2639.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "15min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2639", "sqKey": "S2639", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2692.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2692.json index 30be461456d..4e875697b2f 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2692.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2692.json @@ -13,7 +13,8 @@ "constantCost": "2min" }, "tags": [ - "suspicious" + "suspicious", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2692", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2817.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2817.json index cdf35d841b9..28f0cb103eb 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2817.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2817.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "2h" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2817", "sqKey": "S2817", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2819.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2819.json index 51a206e4ff5..8c18d8d4f65 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2819.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2819.json @@ -14,7 +14,8 @@ }, "tags": [ "cwe", - "html5" + "html5", + "type-dependent" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-2819", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2870.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2870.json index 07fd334d92f..0840e2f0874 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2870.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2870.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2870", "sqKey": "S2870", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2871.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2871.json index 858ae38039a..fae84ce8dd1 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2871.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2871.json @@ -13,7 +13,8 @@ "constantCost": "10min" }, "tags": [ - "bad-practice" + "bad-practice", + "type-dependent" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-2871", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2933.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2933.json index 07dfd6635dd..268c65f7798 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2933.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2933.json @@ -13,7 +13,8 @@ "constantCost": "2min" }, "tags": [ - "confusing" + "confusing", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2933", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2999.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2999.json index 8be6c54c6a7..04057b6f2a6 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2999.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S2999.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "10min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2999", "sqKey": "S2999", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3003.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3003.json index 08d227242a4..3caa58a3d17 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3003.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3003.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-3003", "sqKey": "S3003", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3402.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3402.json index 69b768aef12..3a69296d80d 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3402.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3402.json @@ -13,7 +13,8 @@ "constantCost": "15min" }, "tags": [ - "confusing" + "confusing", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-3402", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3403.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3403.json index e95509383a9..0665661eaf3 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3403.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3403.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-3403", "sqKey": "S3403", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3525.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3525.json index 90b46ca53b7..f87d3f606d4 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3525.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3525.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "es2015" + "es2015", + "type-dependent" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-3525", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3533.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3533.json index fa4a9ed985d..caf1dd63dae 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3533.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3533.json @@ -15,7 +15,8 @@ "tags": [ "convention", "es2015", - "obsolete" + "obsolete", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-3533", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3579.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3579.json index d8df07acead..c11db8014d7 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3579.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3579.json @@ -13,7 +13,8 @@ "constantCost": "10min" }, "tags": [ - "bad-practice" + "bad-practice", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-3579", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3696.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3696.json index d97ef0c76f7..c54999ea25a 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3696.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3696.json @@ -14,7 +14,8 @@ }, "tags": [ "error-handling", - "api-design" + "api-design", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-3696", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3735.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3735.json index 5b9b3272c2f..13778fe248b 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3735.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3735.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "confusing" + "confusing", + "type-dependent" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-3735", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3757.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3757.json index 43985ce75f6..27e0ac32e23 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3757.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3757.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "10min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-3757", "sqKey": "S3757", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3758.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3758.json index 3548f0dd3a2..0ac119be864 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3758.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3758.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "10min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-3758", "sqKey": "S3758", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3760.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3760.json index 8321f4ff664..e36b00f74ab 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3760.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3760.json @@ -13,7 +13,8 @@ "constantCost": "2min" }, "tags": [ - "confusing" + "confusing", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-3760", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3776.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3776.json index 770d7e5d44f..c87b9e2818d 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3776.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3776.json @@ -21,7 +21,7 @@ "ruleSpecification": "RSPEC-3776", "sqKey": "S3776", "scope": "Main", - "quickfix": "unknown", + "quickfix": "infeasible", "compatibleLanguages": [ "JAVASCRIPT", "TYPESCRIPT" diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3782.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3782.json index 9fb33e9482f..9363439191a 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3782.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3782.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-3782", "sqKey": "S3782", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3785.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3785.json index 76ac29d1c26..4174d0f8b49 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3785.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3785.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-3785", "sqKey": "S3785", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3796.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3796.json index 8a58154dea5..40cc96cf10c 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3796.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3796.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-3796", "sqKey": "S3796", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3800.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3800.json index a227ca839f3..9addf235635 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3800.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3800.json @@ -13,7 +13,8 @@ "constantCost": "20min" }, "tags": [ - "confusing" + "confusing", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-3800", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3981.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3981.json index a139c1b132d..f804eafb8f8 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3981.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S3981.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "2min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-3981", "sqKey": "S3981", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4043.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4043.json index a22cfc30ce9..e4ed13de020 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4043.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4043.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-4043", "sqKey": "S4043", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4123.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4123.json index c819d2b1bdd..ee1c0edcc9e 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4123.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4123.json @@ -13,7 +13,8 @@ "constantCost": "1min" }, "tags": [ - "confusing" + "confusing", + "type-dependent" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-4123", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4139.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4139.json index c44310d62ec..8870d4d5458 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4139.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4139.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-4139", "sqKey": "S4139", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4157.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4157.json index b1554223842..a47a5c3806d 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4157.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4157.json @@ -13,7 +13,8 @@ "constantCost": "2min" }, "tags": [ - "clumsy" + "clumsy", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-4157", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4324.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4324.json index 7bc4685e100..472d792dcf2 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4324.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4324.json @@ -13,7 +13,8 @@ "constantCost": "2min" }, "tags": [ - "proficiency" + "proficiency", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-4324", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4325.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4325.json index 5704cd8bf0f..f056936584c 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4325.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4325.json @@ -13,7 +13,8 @@ "constantCost": "1min" }, "tags": [ - "redundant" + "redundant", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-4325", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4335.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4335.json index c76f9faad84..f0446273363 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4335.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4335.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "pitfall" + "pitfall", + "type-dependent" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-4335", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4619.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4619.json index 7d99878a63a..fdf50345b37 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4619.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4619.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "pitfall" + "pitfall", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-4619", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4623.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4623.json index ff883aea883..d13f07d23ef 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4623.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4623.json @@ -13,7 +13,8 @@ "constantCost": "1min" }, "tags": [ - "confusing" + "confusing", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-4623", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4782.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4782.json index 17691c821d8..51292be126b 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4782.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4782.json @@ -13,7 +13,8 @@ "constantCost": "1min" }, "tags": [ - "redundant" + "redundant", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-4782", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4822.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4822.json index be10e234d71..b61ed4fb544 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4822.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4822.json @@ -1,5 +1,5 @@ { - "title": "Promise rejections should not be caught by \u0027try\u0027 blocks", + "title": "Promise rejections should not be caught by \"try\" blocks", "type": "BUG", "code": { "impacts": { @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-4822", "sqKey": "S4822", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5247.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5247.json index 3e04acf979f..4524d853ff8 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5247.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5247.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "cwe" + "cwe", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5247", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5725.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5725.json index c488497ddcd..8363e30f7a9 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5725.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5725.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "cwe" + "cwe", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-5725", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5842.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5842.json index bffe1fd0511..9764f765eb7 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5842.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5842.json @@ -13,7 +13,7 @@ "constantCost": "5min" }, "tags": [ - "regex" + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-5842", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5843.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5843.json index 834d8a72d60..8338c4c7e33 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5843.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5843.json @@ -15,7 +15,8 @@ "linearFactor": "2min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5843", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5850.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5850.json index 14db3dd9620..2464b498464 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5850.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5850.json @@ -13,7 +13,8 @@ "constantCost": "10min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5850", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5852.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5852.json index 6983f7eca6d..532ece31808 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5852.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5852.json @@ -14,7 +14,8 @@ }, "tags": [ "cwe", - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5852", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5856.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5856.json index 41a558b7f53..91b63fc41ee 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5856.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5856.json @@ -13,7 +13,7 @@ "constantCost": "15min" }, "tags": [ - "regex" + "type-dependent" ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5856", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5860.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5860.json index 4f640e392fb..823deb22b89 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5860.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5860.json @@ -13,7 +13,8 @@ "constantCost": "10min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5860", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5867.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5867.json index ccd9cd0c8a1..291b0f6f77b 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5867.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5867.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-5867", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5868.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5868.json index f70ff8dd325..ef5c26b5414 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5868.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5868.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5868", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5869.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5869.json index 5ea68fd1253..9d5b2f0021e 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5869.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5869.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5869", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6019.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6019.json index dff7de4330b..a7339477a8b 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6019.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6019.json @@ -13,7 +13,8 @@ "constantCost": "10min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6019", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6035.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6035.json index 71715ee6def..3e4c3837b0f 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6035.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6035.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6035", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6323.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6323.json index a9270eebaa6..f3bb4ce3dd7 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6323.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6323.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6323", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6324.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6324.json index 18861bb8726..09d98be8b69 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6324.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6324.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6324", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6326.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6326.json index ea1570c586f..aeb93cbec7f 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6326.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6326.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6326", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6328.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6328.json index 3e2ff968278..9bc69ff55c4 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6328.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6328.json @@ -13,7 +13,8 @@ "constantCost": "10min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6328", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6331.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6331.json index 73e65a49916..ae8b7ac1ae0 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6331.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6331.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6331", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6353.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6353.json index a9e841ea3b0..df0f855f4af 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6353.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6353.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-6353", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6397.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6397.json index 6ea1c14ae56..208c842bdec 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6397.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6397.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6397", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6439.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6439.json index 123c213790e..1f64beeddd1 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6439.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6439.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "react" + "react", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6439", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6544.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6544.json index 6092adba8b2..486b8b6e12f 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6544.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6544.json @@ -14,7 +14,8 @@ }, "tags": [ "promise", - "async" + "async", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6544", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6551.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6551.json index 3804c51c2d6..09e79238849 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6551.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6551.json @@ -14,7 +14,8 @@ }, "tags": [ "string", - "object" + "object", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-6551", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6557.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6557.json index 6da77030cbd..a5fec1889a5 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6557.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6557.json @@ -12,7 +12,9 @@ "func": "Constant\/Issue", "constantCost": "5min" }, - "tags": [], + "tags": [ + "type-dependent" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6557", "sqKey": "S6557", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6565.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6565.json index 15bcf7fcafa..abe2068e681 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6565.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6565.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "api-design" + "api-design", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-6565", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6571.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6571.json index bf330af76d5..ff937b948ac 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6571.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6571.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "redundant" + "redundant", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-6571", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6583.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6583.json index 06db6beaa18..8549c6e11e7 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6583.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6583.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "enum" + "enum", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6583", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6594.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6594.json index 07448dab028..ab00a05f31a 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6594.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6594.json @@ -13,7 +13,8 @@ "constantCost": "5min" }, "tags": [ - "regex" + "regex", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-6594", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6606.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6606.json index a42dc69f97f..12a84b4b2f8 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6606.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6606.json @@ -14,7 +14,8 @@ }, "tags": [ "es2020", - "nullish-coalescing" + "nullish-coalescing", + "type-dependent" ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-6606", diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6759.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6759.json index 6a107fdd4be..4d1389ee1dc 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6759.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S6759.json @@ -7,7 +7,8 @@ "constantCost": "5min" }, "tags": [ - "react" + "react", + "type-dependent" ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6759", diff --git a/sonarpedia.json b/sonarpedia.json index d534221375e..280971c80d6 100644 --- a/sonarpedia.json +++ b/sonarpedia.json @@ -3,7 +3,7 @@ "languages": [ "JS" ], - "latest-update": "2023-10-20T14:01:03.080659Z", + "latest-update": "2023-10-24T09:22:06.170501Z", "options": { "no-language-in-filenames": true, "preserve-filenames": true