This commit is contained in:
Timo K.
2026-07-07 19:52:50 +02:00
parent 2b84c587f2
commit eefa6f843d
5 changed files with 6 additions and 8 deletions

View File

@@ -26,9 +26,9 @@ const rule = ESLintUtils.RuleCreator(
type: "problem",
docs: {
description:
"Disallow calling logger.getChild() at the top level of a module." +
"`getChild` has to be called after the rageshake logger `init()`." +
"If it is called at the top level the child logger will never be setup for rageshakes.",
"Disallow calling logger.getChild() at the top level of a module." +
"`getChild` has to be called after the rageshake logger `init()`." +
"If it is called at the top level the child logger will never be setup for rageshakes.",
},
messages: {
noTopLevelGetChild: