File tree Expand file tree Collapse file tree 3 files changed +431
-401
lines changed
Expand file tree Collapse file tree 3 files changed +431
-401
lines changed Original file line number Diff line number Diff line change 1- import prettier from 'eslint-config-prettier' ;
21import { includeIgnoreFile } from '@eslint/compat' ;
32import js from '@eslint/js' ;
3+ import prettier from 'eslint-config-prettier' ;
44import svelte from 'eslint-plugin-svelte' ;
5+ import { defineConfig } from 'eslint/config' ;
56import globals from 'globals' ;
67import { fileURLToPath } from 'node:url' ;
78import ts from 'typescript-eslint' ;
89import svelteConfig from './svelte.config.js' ;
910
1011const gitignorePath = fileURLToPath ( new URL ( './.gitignore' , import . meta. url ) ) ;
1112
12- export default ts . config (
13+ export default defineConfig (
1314 includeIgnoreFile ( gitignorePath ) ,
1415 js . configs . recommended ,
1516 ...ts . configs . recommended ,
Original file line number Diff line number Diff line change 1515 },
1616 "devDependencies" : {
1717 "@eslint/compat" : " ^1.2.5" ,
18- "@eslint/js" : " ^9.18 .0" ,
18+ "@eslint/js" : " ^9.22 .0" ,
1919 "@sveltejs/adapter-auto" : " ^6.0.0" ,
2020 "@sveltejs/kit" : " ^2.22.0" ,
2121 "@sveltejs/vite-plugin-svelte" : " ^6.0.0" ,
22- "eslint" : " ^9.18.0" ,
22+ "@types/node" : " ^22" ,
23+ "eslint" : " ^9.22.0" ,
2324 "eslint-config-prettier" : " ^10.0.1" ,
2425 "eslint-plugin-svelte" : " ^3.0.0" ,
2526 "globals" : " ^16.0.0" ,
You can’t perform that action at this time.
0 commit comments