mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-04-24 07:27:10 -05:00
style: add typescript parser for vue files
This commit is contained in:
parent
c78eaff1e1
commit
7ee78ad7da
|
|
@ -3,9 +3,15 @@ import eslintConfig from '@pretendonetwork/eslint-config';
|
|||
import { withNuxt } from './.nuxt/eslint.config.mjs';
|
||||
|
||||
export default withNuxt([
|
||||
...pluginVue.configs['flat/recommended'],
|
||||
...eslintConfig,
|
||||
...pluginVue.configs['flat/recommended'],
|
||||
{
|
||||
files: ['*.vue', '**/*.vue'],
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
parser: '@typescript-eslint/parser'
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
'vue/multi-word-component-names': 'off'
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user