test: Playwright tests #6
|
@ -15,4 +15,15 @@ export default [
|
||||||
},
|
},
|
||||||
pluginJs.configs.recommended,
|
pluginJs.configs.recommended,
|
||||||
...tseslint.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> = */() /*=>*/ {
|
function remarkAlert/*: Plugin<[Option?], Root> = */() /*=>*/ {
|
||||||
return (tree) => {
|
return (tree) => {
|
||||||
visit(tree, "blockquote", (node, index, parent) => {
|
visit(tree, "blockquote", (node, _index, _parent) => {
|
||||||
let alertType = '';
|
let alertType = '';
|
||||||
let title = '';
|
let title = '';
|
||||||
let isNext = true;
|
let isNext = true;
|
||||||
|
|
Loading…
Reference in New Issue