Skip to content

Commit 7d251bf

Browse files
AbbanSperling-0
authored andcommitted
Update all dependencies
This updates all the dependencies to the latest compatible versions. It also changes the eslint configs to the new flat versions.
1 parent 8e37911 commit 7d251bf

6 files changed

Lines changed: 2371 additions & 4445 deletions

File tree

.eslintrc.js

Lines changed: 0 additions & 29 deletions
This file was deleted.

eslint.config.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import eslint from '@eslint/js';
2+
import { globalIgnores } from 'eslint/config'
3+
import pluginVue from 'eslint-plugin-vue'
4+
import pluginVitest from '@vitest/eslint-plugin'
5+
import { configureVueProject, defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript'
6+
7+
configureVueProject( {
8+
tsSyntaxInTemplates: true,
9+
scriptLangs: [ 'ts', 'js' ],
10+
allowComponentTypeUnsafety: true,
11+
} )
12+
13+
export default defineConfigWithVueTs(
14+
{
15+
name: 'app/files-to-lint',
16+
files: [ '**/*.{vue,ts,mts,tsx}' ],
17+
},
18+
19+
globalIgnores( [ '**/dist/**', '**/dist-ssr/**', '**/coverage/**' ] ),
20+
21+
eslint.configs.recommended,
22+
...pluginVue.configs[ 'flat/essential' ],
23+
vueTsConfigs.recommended,
24+
25+
{
26+
...pluginVitest.configs.recommended,
27+
files: [ 'src/**/__tests__/*' ],
28+
},
29+
)

0 commit comments

Comments
 (0)