dont ignore hydra.mjs in eslint + fix lint
This commit is contained in:
parent
7839d6b4bf
commit
fde0da3b19
2 changed files with 2 additions and 2 deletions
|
|
@ -20,5 +20,4 @@ vite.config.js
|
||||||
**/dist
|
**/dist
|
||||||
/src-tauri/target/**/*
|
/src-tauri/target/**/*
|
||||||
reverbGen.mjs
|
reverbGen.mjs
|
||||||
hydra.mjs
|
|
||||||
jsdoc-synonyms.js
|
jsdoc-synonyms.js
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { getDrawContext } from '@strudel/draw';
|
import { getDrawContext } from '@strudel/draw';
|
||||||
import { controls } from '@strudel/core';
|
import { controls, getTime } from '@strudel/core';
|
||||||
|
|
||||||
let latestOptions;
|
let latestOptions;
|
||||||
let hydra;
|
let hydra;
|
||||||
|
|
@ -27,6 +27,7 @@ export async function initHydra(options = {}) {
|
||||||
hydraConfig.canvas = canvas;
|
hydraConfig.canvas = canvas;
|
||||||
|
|
||||||
await import(/* @vite-ignore */ src);
|
await import(/* @vite-ignore */ src);
|
||||||
|
/* eslint-disable-next-line */
|
||||||
hydra = new Hydra(hydraConfig);
|
hydra = new Hydra(hydraConfig);
|
||||||
if (feedStrudel) {
|
if (feedStrudel) {
|
||||||
const { canvas } = getDrawContext();
|
const { canvas } = getDrawContext();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue