mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-09-17 02:44:23 +00:00
feat(eslint): add AudioWorklet globals to ESLint configuration for worklet files
This commit is contained in:
@@ -50,6 +50,15 @@ export default [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["**/*.worklet.js"],
|
||||
languageOptions: {
|
||||
globals: {
|
||||
AudioWorkletProcessor: "readonly",
|
||||
registerProcessor: "readonly",
|
||||
},
|
||||
},
|
||||
},
|
||||
js.configs.recommended,
|
||||
...pluginVue.configs["flat/recommended"],
|
||||
pluginPrettier,
|
||||
|
||||
Reference in New Issue
Block a user