import js from "@eslint/js"; import pluginVue from "eslint-plugin-vue"; import pluginPrettier from "eslint-plugin-prettier/recommended"; import globals from "globals"; export default [ { ignores: [ "**/node_modules/**", "**/dist/**", "**/build/**", "**/electron/assets/**", "**/meshchatx/public/**", "**/meshchatx/src/frontend/public/**", "**/storage/**", "**/__pycache__/**", "**/.venv/**", "**/*.min.js", "**/pnpm-lock.yaml", "**/poetry.lock", "**/linux-unpacked/**", "**/win-unpacked/**", "**/mac-unpacked/**", "**/*.asar", "**/*.asar.unpacked/**", "**/*.wasm", "**/*.proto", "**/tests/**", "**/tests/frontend/**", ], }, { files: ["**/*.{js,mjs,cjs,vue}"], languageOptions: { globals: { ...globals.browser, ...globals.node, axios: "readonly", Codec2Lib: "readonly", Codec2MicrophoneRecorder: "readonly", }, }, }, js.configs.recommended, ...pluginVue.configs["flat/recommended"], pluginPrettier, { files: ["**/*.{js,mjs,cjs,vue}"], rules: { "vue/multi-word-component-names": "off", "no-unused-vars": "warn", "no-console": "off", }, }, ];