cleanup rule meta data, add links when possible

This commit is contained in:
Johannes Rieken
2019-12-31 11:32:41 +01:00
parent 50d16a37d9
commit 324764a4df
12 changed files with 28 additions and 34 deletions

View File

@@ -18,9 +18,7 @@ export = new class NoUnexternalizedStrings implements eslint.Rule.RuleModule {
private static _rNlsKeys = /^[_a-zA-Z0-9][ .\-_a-zA-Z0-9]*$/;
readonly meta = {
type: 'problem',
schema: {},
readonly meta: eslint.Rule.RuleMetaData = {
messages: {
doubleQuoted: 'Only use double-quoted strings for externalized strings.',
badKey: 'The key \'{{key}}\' doesn\'t conform to a valid localize identifier.',