20 lines
457 B
TypeScript
20 lines
457 B
TypeScript
import js from '@eslint/js'
|
|
import eslintPluginVue from 'eslint-plugin-vue'
|
|
import ts from 'typescript-eslint'
|
|
|
|
export default ts.config(
|
|
js.configs.recommended,
|
|
...ts.configs.recommended,
|
|
...eslintPluginVue.configs['flat/recommended'],
|
|
{
|
|
files: ['*.vue', '**/*.vue'],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
parser: '@typescript-eslint/parser'
|
|
}
|
|
},
|
|
rules: {
|
|
'vue/multi-word-component-names': 'off'
|
|
}
|
|
}
|
|
)
|