Skip to content

Commit

Permalink
Upgrade svelte-check to version 4
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudlena committed Oct 1, 2024
1 parent 524597c commit 85c3ea6
Show file tree
Hide file tree
Showing 3 changed files with 604 additions and 599 deletions.
17 changes: 8 additions & 9 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import js from '@eslint/js';
import ts from 'typescript-eslint';
import svelte from 'eslint-plugin-svelte';
import eslint from '@eslint/js';
import prettier from 'eslint-config-prettier';
import svelte from 'eslint-plugin-svelte';
import globals from 'globals';
import tseslint from 'typescript-eslint';

/** @type {import('eslint').Linter.Config[]} */
export default [
js.configs.recommended,
...ts.configs.recommended,
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
...svelte.configs['flat/recommended'],
prettier,
...svelte.configs['flat/prettier'],
Expand All @@ -23,11 +22,11 @@ export default [
files: ['**/*.svelte'],
languageOptions: {
parserOptions: {
parser: ts.parser
parser: tseslint.parser
}
}
},
{
ignores: ['build/', '.svelte-kit/', 'dist/']
}
];
);
Loading

0 comments on commit 85c3ea6

Please sign in to comment.