module.exports = { root: true, env: { node: true, }, extends: ['plugin:vue/essential', 'eslint:recommended', '@vue/typescript/recommended', 'plugin:prettier/recommended'], parserOptions: { ecmaVersion: 2020, parser: '@typescript-eslint/parser', }, plugins: ['@typescript-eslint', 'import'], rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'prettier/prettier': [ 'error', { endOfLine: 'auto', semi: false, singleQuote: true, }, ], 'no-async-promise-executor': [0], }, globals: { __webpack_public_path__: true, }, }