test: Playwright tests #6
|
@ -15,4 +15,15 @@ export default [
|
|||
},
|
||||
pluginJs.configs.recommended,
|
||||
...tseslint.configs.recommended,
|
||||
{
|
||||
rules: {
|
||||
"no-unused-vars": [
|
||||
"error",
|
||||
{
|
||||
"argsIgnorePattern": "^_",
|
||||
"varsIgnorePattern": "^_",
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
@ -12,7 +12,7 @@ const alertRegex = /^:>(NOTE|TIP|IMPORTANT|WARNING|CAUTION)/i;
|
|||
*/
|
||||
function remarkAlert/*: Plugin<[Option?], Root> = */() /*=>*/ {
|
||||
return (tree) => {
|
||||
visit(tree, "blockquote", (node, index, parent) => {
|
||||
visit(tree, "blockquote", (node, _index, _parent) => {
|
||||
let alertType = '';
|
||||
let title = '';
|
||||
let isNext = true;
|
||||
|
|
Loading…
Reference in New Issue