0.1.0
This commit is contained in:
53
eslint.config.mjs
Normal file
53
eslint.config.mjs
Normal 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",
|
||||
},
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user