website/eslint.config.mjs
limes.pink e6af4df65d fix(eslint): add browser globals
thx @binaryoverload
2025-04-15 15:49:25 +02:00

24 lines
509 B
JavaScript

import pluginVue from 'eslint-plugin-vue';
import eslintConfig from '@pretendonetwork/eslint-config';
import globals from 'globals';
import { withNuxt } from './.nuxt/eslint.config.mjs';
export default withNuxt([
...eslintConfig,
...pluginVue.configs['flat/recommended'],
{
files: ['*.vue', '**/*.vue'],
languageOptions: {
parserOptions: {
parser: '@typescript-eslint/parser'
},
globals: {
...globals.browser
}
},
rules: {
'vue/multi-word-component-names': 'off'
}
}
]);