소스 검색

fix lint errors

Yuki Takei 3 년 전
부모
커밋
e736bed6fb
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      packages/remark-growi-plugin/src/micromark-extension-growi-plugin/dev/lib/directive-container.js

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