module.exports = { root: true, env: { node: true }, extends: [ 'plugin:vue/recommended', '@vue/airbnb', '@vue/typescript/recommended', 'plugin:prettier/recommended', // add prettier-eslint plugin which will uses the `.prettierrc.js` config 'prettier/vue' ], parserOptions: { parser: '@typescript-eslint/parser', // the typescript-parser for eslint, instead of tslint sourceType: 'module', // allow the use of imports statements ecmaVersion: 2020 }, rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'linebreak-style': 'off', '@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/no-empty-function': 'off', '@typescript-eslint/no-explicit-any': 'off', camelcase: 'off', '@typescript-eslint/camelcase': ['warn'], 'no-underscore-dangle': 'off' }, overrides: [ { files: ['**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)'], env: { jest: true } } ] };