This commit is contained in:
2026-01-01 15:05:29 -06:00
parent 65044a54ef
commit 716007802e
147 changed files with 40416 additions and 27 deletions

53
eslint.config.mjs Normal file
View File

@@ -0,0 +1,53 @@
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",
],
},
{
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",
},
},
];