/** * @author chuzhixin 1204505056@qq.com (不想保留author可删除) * @description .eslintrc.js */ module.exports = { root: true, env: { node: true, }, extends: ['plugin:vue/recommended', '@vue/prettier'], rules: { 'no-console': 'off', 'no-debugger': 'off', 'vue/no-v-html': 'off', 'no-empty' : 'off', 'no-ex-assign': 'off', 'no-extra-boolean-cast': 'off', 'no-extra-parens': 'off', 'no-extra-semi' : 'off', 'no-func-assign' : 'off', 'no-inner-declarations' : 'off', 'no-irregular-whitespace':'off' }, parserOptions: { parser: 'babel-eslint', }, overrides: [ { files: [ '**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)', ], env: { jest: true, }, }, ], }