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