module.exports = { root: true, env: { node: true, }, plugins: ['mocha'], extends: [ 'plugin:@typescript-eslint/recommended', 'plugin:vue/recommended', 'airbnb-base', ], rules: { 'no-restricted-syntax': 'off', 'object-shorthand': 'off', 'no-bitwise': 'off', 'no-alert': 'off', 'arrow-parens': ['warn', 'as-needed'], 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'warn', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'import/no-unresolved': ['error', {'ignore': ['@']}], }, parserOptions: { parser: 'babel-eslint', }, };