Skip to content

Commit

Permalink
chore: add tseslint to eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
escapedcat committed Jan 15, 2025
1 parent 1d48adf commit 3522a5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ import js from '@eslint/js';
import eslintPluginSvelte from 'eslint-plugin-svelte';
import * as svelteParser from 'svelte-eslint-parser';
import * as typescriptParser from '@typescript-eslint/parser';
import tseslint from 'typescript-eslint';

export default [
export default tseslint.config(
js.configs.recommended,
...tseslint.configs.recommended,
...eslintPluginSvelte.configs.recommended,
{
files: ['**/*.svelte'],
Expand All @@ -25,4 +27,4 @@ export default [
{
ignores: ['.netlify', '.svelte-kit', 'static', 'build']
}
];
);
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"svelte-check": "^3.7.1",
"svelte-preprocess": "^5.1.4",
"tailwindcss": "^3.4.17",
"tslib": "^2.8.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.20.0",
"vite": "^5.2.11"
Expand Down

0 comments on commit 3522a5f

Please sign in to comment.