module.exports = { root: true, env: { node: true, browser: true, }, extends: ['eslint:recommended', 'prettier'], parser: '@typescript-eslint/parser', parserOptions: { ecmaVersion: 2020, }, plugins: ['@typescript-eslint', 'prettier'], rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'prettier/prettier': 'warn', }, }