22 lines
451 B
JavaScript
22 lines
451 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
browser: true,
|
|
node: true
|
|
},
|
|
parser: 'vue-eslint-parser',
|
|
parserOptions: {
|
|
parser: '@typescript-eslint/parser',
|
|
extraFileExtensions: ['.vue']
|
|
},
|
|
plugins: ['@typescript-eslint'],
|
|
extends: [
|
|
'plugin:vue/vue3-recommended',
|
|
'plugin:@typescript-eslint/recommended'
|
|
],
|
|
rules: {
|
|
// Allow usage of `any` when necessary
|
|
'@typescript-eslint/no-explicit-any': 'off'
|
|
}
|
|
}
|