/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
    root: true,
    extends: ['plugin:vue/vue3-essential', 'eslint:recommended', '@vue/eslint-config-prettier'],
    parserOptions: {
        ecmaVersion: 'latest'
    },
    rules: {
        'vue/no-deprecated-slot-attribute': 'off',
        'no-unused-vars': 'off'
    },
    globals: {
        wx: true,
        process: true,
        tidioChatApi: true,
        $: true
    },
    ignorePatterns: ['index.html', 'public/error.html', '/capacitor.config.ts']
}
