feat(eslint): add AudioWorklet globals to ESLint configuration for worklet files

This commit is contained in:
Ivan
2026-04-23 02:25:08 -05:00
parent 161bf7e413
commit 4b122c5551
+9
View File
@@ -50,6 +50,15 @@ export default [
},
},
},
{
files: ["**/*.worklet.js"],
languageOptions: {
globals: {
AudioWorkletProcessor: "readonly",
registerProcessor: "readonly",
},
},
},
js.configs.recommended,
...pluginVue.configs["flat/recommended"],
pluginPrettier,