2024-04-07 17:35:03 +08:00
|
|
|
/* eslint-env node */
|
|
|
|
require('@rushstack/eslint-patch/modern-module-resolution');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
extends: [
|
|
|
|
'plugin:vue/vue3-essential',
|
|
|
|
'eslint:recommended',
|
|
|
|
'@vue/eslint-config-typescript',
|
2024-12-12 12:41:24 +08:00
|
|
|
'@vue/eslint-config-prettier/skip-formatting',
|
2024-04-07 17:35:03 +08:00
|
|
|
],
|
2025-03-01 11:43:14 +08:00
|
|
|
parserOptions: { ecmaVersion: 'latest' },
|
2024-04-07 17:35:03 +08:00
|
|
|
rules: {
|
|
|
|
'vue/no-unused-vars': 'warn',
|
2024-12-12 12:41:24 +08:00
|
|
|
'vue/multi-word-component-names': 'off',
|
2024-12-30 06:41:34 +08:00
|
|
|
'vue/valid-v-for': 'off',
|
2025-03-01 11:43:14 +08:00
|
|
|
'no-redeclare': 'off',
|
2024-12-12 12:41:24 +08:00
|
|
|
},
|
2024-04-07 17:35:03 +08:00
|
|
|
};
|