/* * ___====-_ _-====___ * _--^^^#####// \\#####^^^--_ * _-^##########// ( ) \\##########^-_ * -############// |\^^/| \\############- * _/############// (@::@) \############\_ * /#############(( \\// ))#############\ * -###############\\ (oo) //###############- * -#################\\ / VV \ //#################- * -###################\\/ \//###################- * _#/|##########/\######( /\ )######/\##########|\#_ * |/ |#/\#/\#/\/ \#/\##\ | | /##/\#/ \/\#/\#/\#| \| * ` |/ V V ` V \#\| | | |/#/ V ' V V \| ' * ` ` ` ` / | | | | \ ' ' ' ' * ( | | | | ) * __\ | | | | /__ * (vvv(VVV)(VVV)vvv) * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * 神兽保佑 永无BUG * * @Descripttion: * @version: * @Date: 2021-04-20 11:06:21 * @LastEditors: huzhushan@126.com * @LastEditTime: 2021-04-21 12:51:42 * @Author: huzhushan@126.com * @HomePage: https://huzhushan.gitee.io/vue3-element-admin * @Github: https://github.com/huzhushan/vue3-element-admin * @Donate: https://huzhushan.gitee.io/vue3-element-admin/donate/ */ module.exports = { root: true, env: { browser: true, node: true, es6: true, }, extends: ['plugin:vue/vue3-essential', 'eslint:recommended', '@vue/prettier'], parserOptions: { parser: 'babel-eslint', sourceType: 'module', ecmaVersion: 2020, }, rules: { 'no-console': 0, 'no-use-before-define': 'off', 'no-unused-vars': [ 'warn', { // 允许声明未使用变量 vars: 'local', // 参数不检查 args: 'none', }, ], 'vue/no-unused-vars': 'warn', 'no-prototype-builtins': 'off', 'no-irregular-whitespace': 'off', 'space-before-function-paren': 'off', 'vue/custom-event-name-casing': 'off', 'vue/attributes-order': 'off', 'vue/one-component-per-file': 'off', 'vue/html-closing-bracket-newline': 'off', 'vue/max-attributes-per-line': 'off', 'vue/multiline-html-element-content-newline': 'off', 'vue/singleline-html-element-content-newline': 'off', 'vue/attribute-hyphenation': 'off', 'vue/require-default-prop': 'off', 'vue/no-unused-components': 'warn', 'vue/no-setup-props-destructure': 'off', }, }