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