2
0
Yuki Takei 2 сар өмнө
parent
commit
d2c3ad679a

+ 3 - 0
biome.json

@@ -76,6 +76,9 @@
       },
       "correctness": {
         "useUniqueElementIds": "warn"
+      },
+      "nursery": {
+        "useMaxParams": "warn"
       }
     }
   },

+ 1 - 1
packages/remark-growi-directive/src/micromark-extension-growi-directive/lib/factory-attributes.js

@@ -34,7 +34,7 @@ import {
  * @param {string} attributeValueData
  * @param {boolean} [disallowEol=false]
  */
-/* eslint-disable-next-line max-params */
+// biome-ignore lint/nursery/useMaxParams: This module is transplanted from micromark and we want to keep the signature same.
 export function factoryAttributes(
   effects,
   ok,

+ 1 - 1
packages/remark-growi-directive/src/micromark-extension-growi-directive/lib/factory-label.js

@@ -22,7 +22,7 @@ import { ok as assert } from 'uvu/assert';
  * @param {string} stringType
  * @param {boolean} [disallowEol=false]
  */
-// eslint-disable-next-line max-params
+// biome-ignore lint/nursery/useMaxParams: This module is transplanted from micromark and we want to keep the signature same.
 export function factoryLabel(
   effects,
   ok,