module.exports = { root: true, env: { node: true, }, extends: ['plugin:vue/essential', '@vue/prettier'], rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', // 'no-unused-vars': 'warn', 'vue/no-use-v-if-with-v-for': 'warn', 'prettier/prettier': [ 'error', { endOfLine: 'auto', singleQuote: true, trailingComma: 'all', }, ], }, parserOptions: { parser: 'babel-eslint', }, };