module.exports = { root: true, env: { node: true, }, extends: [ 'plugin:vue/essential', '@vue/airbnb', ], rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'import/no-named-as-default': 0, 'max-len': [2, { code: 140, tabWidth: 2, ignoreUrls: true }], 'import/no-extraneous-dependencies': ['error', { devDependencies: ['**/*.test.js', '**/*.config.js', '**/*.spec.js'] }], }, parserOptions: { parser: 'babel-eslint', }, overrides: [ { files: [ '**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)', ], env: { jest: true, }, }, ], };