import js from '@eslint/js';
import pluginVue from 'eslint-plugin-vue';
import globals from 'globals';

export default [
    js.configs.recommended,
    ...pluginVue.configs['flat/essential'],
    {
        languageOptions: {
            globals: globals.browser,
        },
        rules: {
            "semi": "error",
            "prefer-const": "error",
            "vue/no-reserved-component-names": "off",
            "vue/multi-word-component-names": "off",
            "vue/no-undef-components": "error",
            'vue/no-root-v-if': "error",
        }
    }
];
