mirror of
https://github.com/LittleChest/Age.git
synced 2026-05-06 22:34:48 +08:00
18 lines
472 B
JavaScript
18 lines
472 B
JavaScript
import { defineConfig, globalIgnores } from 'eslint/config'
|
|
import js from '@eslint/js'
|
|
import pluginVue from 'eslint-plugin-vue'
|
|
import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'
|
|
|
|
export default defineConfig([
|
|
{
|
|
name: 'app/files-to-lint',
|
|
files: ['**/*.{js,mjs,jsx,vue}'],
|
|
},
|
|
|
|
globalIgnores(['**/dist/**', '**/dist-ssr/**', '**/coverage/**']),
|
|
|
|
js.configs.recommended,
|
|
...pluginVue.configs['flat/essential'],
|
|
skipFormatting,
|
|
])
|