Yuki Takei 3 лет назад
Родитель
Сommit
e736bed6fb

+ 2 - 0
packages/remark-growi-plugin/src/micromark-extension-growi-plugin/dev/lib/directive-container.js

@@ -28,6 +28,7 @@ const nonLazyLine = { tokenize: tokenizeNonLazyLine, partial: true };
 
 
 /** @type {Tokenizer} */
 /** @type {Tokenizer} */
 function tokenizeDirectiveContainer(effects, ok, nok) {
 function tokenizeDirectiveContainer(effects, ok, nok) {
+  // eslint-disable-next-line @typescript-eslint/no-this-alias
   const self = this;
   const self = this;
   const tail = self.events[self.events.length - 1];
   const tail = self.events[self.events.length - 1];
   const initialSize = tail && tail[1].type === types.linePrefix
   const initialSize = tail && tail[1].type === types.linePrefix
@@ -274,6 +275,7 @@ function tokenizeAttributes(effects, ok, nok) {
 
 
 /** @type {Tokenizer} */
 /** @type {Tokenizer} */
 function tokenizeNonLazyLine(effects, ok, nok) {
 function tokenizeNonLazyLine(effects, ok, nok) {
+  // eslint-disable-next-line @typescript-eslint/no-this-alias
   const self = this;
   const self = this;
 
 
   return start;
   return start;