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 2, 2024
1 parent 524597c commit 8212ba3
Show file tree
Hide file tree
Showing 4 changed files with 608 additions and 603 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
id-token: write
steps:
- name: Configure Deployment
uses: actions/configure-pages@v4
uses: actions/configure-pages@v5
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4
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 8212ba3

Please sign in to comment.