Files
Atomcms-edit/eslint.config.js
2026-05-09 17:32:17 +02:00

33 lines
617 B
JavaScript
Executable File

import globals from "globals";
import pluginVue from "eslint-plugin-vue";
export default [
{
ignores: [
"node_modules/**",
"public/**",
"vendor/**",
"dist/**",
"build/**",
],
},
...pluginVue.configs["flat/essential"],
{
languageOptions: {
globals: {
...globals.browser,
...globals.node,
Alpine: "readonly",
$: "readonly",
jQuery: "readonly",
},
},
rules: {
"no-console": "warn",
"no-debugger": "warn",
"vue/multi-word-component-names": "off",
"vue/no-v-html": "off",
},
},
];