module.exports = { root: true, env: { node: true, jest: true, }, plugins: ['cypress'], extends: [ 'plugin:vue/vue3-essential', 'airbnb-base', 'plugin:prettier/recommended', // We added this 'plugin:cypress/recommended', ], parserOptions: { // parser: 'babel-eslint', ecmaVersion: 13, sourceType: 'module', }, rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'import/extensions': 'off', camelcase: ['error', { properties: 'never', ignoreDestructuring: true }], 'no-param-reassign': ['error', { props: false }], 'no-underscore-dangle': ['error', { allow: ['_id'] }], /* we added this */ 'no-var': 'error', 'no-plusplus': 'off', 'prettier/prettier': ['error', { endOfLine: 'auto', semi: false }], 'import/prefer-default-export': 'off', }, }