mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
Fix lint
This commit is contained in:
@@ -10,9 +10,10 @@ export function jisonPlugin() {
|
||||
|
||||
transform(src: string, id: string) {
|
||||
if (fileRegex.test(id)) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('Transforming', id);
|
||||
return {
|
||||
// @ts-ignore
|
||||
// @ts-ignore no typings for jison
|
||||
code: new Generator(src, { 'token-stack': true }).generate(),
|
||||
map: null, // provide source map if available
|
||||
};
|
||||
|
Reference in New Issue
Block a user