2023-02-20 23:52:55 +08:00
|
|
|
/* eslint-env node */
|
2023-02-26 02:54:53 +08:00
|
|
|
require('@rushstack/eslint-patch/modern-module-resolution')
|
2023-02-20 23:52:55 +08:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
extends: [
|
2023-02-26 02:54:53 +08:00
|
|
|
'plugin:vue/vue3-essential',
|
|
|
|
'eslint:recommended',
|
|
|
|
'@vue/eslint-config-typescript',
|
|
|
|
'@vue/eslint-config-prettier',
|
2023-02-20 23:52:55 +08:00
|
|
|
],
|
|
|
|
parserOptions: {
|
2023-02-26 02:54:53 +08:00
|
|
|
ecmaVersion: 'latest',
|
2023-02-20 23:52:55 +08:00
|
|
|
},
|
|
|
|
rules: {
|
2023-02-26 02:54:53 +08:00
|
|
|
'@typescript-eslint/no-unused-vars': [
|
|
|
|
'warn',
|
2023-02-20 23:52:55 +08:00
|
|
|
{
|
2023-02-26 02:54:53 +08:00
|
|
|
argsIgnorePattern: '^_',
|
|
|
|
varsIgnorePattern: '^_',
|
2023-02-20 23:52:55 +08:00
|
|
|
},
|
|
|
|
],
|
2023-02-26 02:54:53 +08:00
|
|
|
'vue/multi-word-component-names': [
|
|
|
|
'error',
|
2023-02-20 23:52:55 +08:00
|
|
|
{
|
2023-02-26 02:54:53 +08:00
|
|
|
ignores: ['Overview'],
|
2023-02-20 23:52:55 +08:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2023-02-26 02:54:53 +08:00
|
|
|
}
|