Skip to content

Commit 23f4fad

Browse files
committed
chore: add tseslint to eslint config
1 parent 5b7a921 commit 23f4fad

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

eslint.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ import js from '@eslint/js';
22
import eslintPluginSvelte from 'eslint-plugin-svelte';
33
import * as svelteParser from 'svelte-eslint-parser';
44
import * as typescriptParser from '@typescript-eslint/parser';
5+
import tseslint from 'typescript-eslint';
56

6-
export default [
7+
export default tseslint.config(
78
js.configs.recommended,
9+
...tseslint.configs.recommended,
810
...eslintPluginSvelte.configs.recommended,
911
{
1012
files: ['**/*.svelte'],
@@ -25,4 +27,4 @@ export default [
2527
{
2628
ignores: ['.netlify', '.svelte-kit', 'static', 'build']
2729
}
28-
];
30+
);

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"svelte-check": "^3.7.1",
4343
"svelte-preprocess": "^5.1.4",
4444
"tailwindcss": "^3.4.17",
45-
"tslib": "^2.8.1",
4645
"typescript": "^5.7.3",
4746
"typescript-eslint": "^8.20.0",
4847
"vite": "^5.2.11"

0 commit comments

Comments
 (0)