2022-08-05 08:04:07 +00:00
|
|
|
module.exports = {
|
2023-12-22 07:35:19 +00:00
|
|
|
env: {
|
|
|
|
|
browser: true,
|
|
|
|
|
es2021: true,
|
|
|
|
|
node: true,
|
|
|
|
|
},
|
|
|
|
|
extends: [
|
|
|
|
|
'plugin:vue/vue3-recommended',
|
|
|
|
|
'eslint:recommended',
|
|
|
|
|
'plugin:vue/vue3-essential',
|
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
|
|
|
|
'plugin:prettier/recommended',
|
|
|
|
|
],
|
|
|
|
|
parser: 'vue-eslint-parser',
|
|
|
|
|
parserOptions: {
|
|
|
|
|
ecmaVersion: 'latest',
|
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
|
sourceType: 'module',
|
|
|
|
|
},
|
|
|
|
|
plugins: ['vue', '@typescript-eslint'],
|
|
|
|
|
globals: {
|
|
|
|
|
defineProps: 'readonly',
|
|
|
|
|
defineEmits: 'readonly',
|
|
|
|
|
},
|
|
|
|
|
rules: {},
|
2022-08-05 08:04:07 +00:00
|
|
|
}
|