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