21 lines
465 B
JavaScript
21 lines
465 B
JavaScript
import vue from 'eslint-plugin-vue';
|
|
import baseConfig from '../../eslint.config.mjs';
|
|
|
|
export default [
|
|
...baseConfig,
|
|
...vue.configs['flat/recommended'],
|
|
{
|
|
files: ['**/*.vue'],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
parser: await import('@typescript-eslint/parser'),
|
|
},
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx', '**/*.vue'],
|
|
rules: {
|
|
'vue/multi-word-component-names': 'off',
|
|
},
|
|
},
|
|
];
|