You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
523 B
18 lines
523 B
2 weeks ago
|
import globals from 'globals'
|
||
|
import pluginJs from '@eslint/js'
|
||
|
import tseslint from 'typescript-eslint'
|
||
|
import pluginVue from 'eslint-plugin-vue'
|
||
|
|
||
|
/** @type {import('eslint').Linter.Config[]} */
|
||
|
export default [
|
||
|
{ files: ['**/*.{js,mjs,cjs,ts,vue}'] },
|
||
|
{ languageOptions: { globals: globals.browser } },
|
||
|
pluginJs.configs.recommended,
|
||
|
...tseslint.configs.recommended,
|
||
|
...pluginVue.configs['flat/essential'],
|
||
|
{
|
||
|
files: ['**/*.vue'],
|
||
|
languageOptions: { parserOptions: { parser: tseslint.parser } },
|
||
|
},
|
||
|
]
|