this.addFailure(this.createFailure(occurrence.key.getStart(),occurrence.key.getWidth(),`The key ${occurrence.key.getText()} doesn't conform to a valid localize identifier`));
}
constoccurrences=this.usedKeys[key];
if(occurrences.length>1){
occurrences.forEach(occurrence=>{
...
...
@@ -172,3 +178,4 @@ class NoUnexternalizedStringsRuleWalker extends Lint.RuleWalker {
}
NoUnexternalizedStringsRuleWalker.ImportFailureMessage='Do not use double quotes for imports.';
this.addFailure(this.createFailure(occurrence.key.getStart(),occurrence.key.getWidth(),`The key ${occurrence.key.getText()} doesn't conform to a valid localize identifier`));