This repository has been archived on 2025-05-28. You can view files and clone it, but cannot push or open issues or pull requests.
pan-search/.eslintrc.js
2025-04-17 00:03:17 +08:00

24 lines
580 B
JavaScript

module.exports = {
root: true,
env: {
node: true,
browser: true,
es2021: true,
},
extends: [
'plugin:vue/vue3-recommended',
'eslint:recommended',
'@vue/eslint-config-prettier',
],
parserOptions: {
ecmaVersion: 2021,
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'vue/multi-word-component-names': 'off',
'vue/no-v-html': 'off',
'vue/require-default-prop': 'off',
'vue/no-unused-components': 'warn',
},
}