16 lines
383 B
Plaintext
16 lines
383 B
Plaintext
'use strict';
|
|
|
|
var repeatMatcher = (options, match) => {
|
|
let warning = options.translations.warnings.extendedRepeat;
|
|
if (match.baseToken.length === 1) {
|
|
warning = options.translations.warnings.simpleRepeat;
|
|
}
|
|
return {
|
|
warning,
|
|
suggestions: [options.translations.suggestions.repeated]
|
|
};
|
|
};
|
|
|
|
module.exports = repeatMatcher;
|
|
//# sourceMappingURL=feedback.cjs.map
|