dont ignore hydra.mjs in eslint + fix lint

This commit is contained in:
Felix Roos 2024-04-03 22:43:35 +02:00
parent 7839d6b4bf
commit fde0da3b19
2 changed files with 2 additions and 2 deletions

View File

@ -20,5 +20,4 @@ vite.config.js
**/dist
/src-tauri/target/**/*
reverbGen.mjs
hydra.mjs
jsdoc-synonyms.js

View File

@ -1,5 +1,5 @@
import { getDrawContext } from '@strudel/draw';
import { controls } from '@strudel/core';
import { controls, getTime } from '@strudel/core';
let latestOptions;
let hydra;
@ -27,6 +27,7 @@ export async function initHydra(options = {}) {
hydraConfig.canvas = canvas;
await import(/* @vite-ignore */ src);
/* eslint-disable-next-line */
hydra = new Hydra(hydraConfig);
if (feedStrudel) {
const { canvas } = getDrawContext();