Skip to content

Commit

Permalink
Merge pull request #76 from joshdales/website/update-svelte-v5
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdales authored Oct 27, 2024
2 parents c43a271 + 6b78a10 commit 9b5fc89
Show file tree
Hide file tree
Showing 25 changed files with 359 additions and 316 deletions.
13 changes: 0 additions & 13 deletions website/.eslintignore

This file was deleted.

30 changes: 0 additions & 30 deletions website/.eslintrc.cjs

This file was deleted.

49 changes: 49 additions & 0 deletions website/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import prettier from 'eslint-config-prettier'
import js from '@eslint/js'
import svelte from 'eslint-plugin-svelte'
import globals from 'globals'
import ts from 'typescript-eslint'

export default ts.config(
js.configs.recommended,
...ts.configs.recommended,
...svelte.configs['flat/recommended'],
prettier,
...svelte.configs['flat/prettier'],
{
languageOptions: {
globals: {
...globals.browser,
...globals.node,
},
},
},
{
files: ['**/*.svelte'],
languageOptions: {
parserOptions: {
parser: ts.parser,
},
},
},
{
ignores: ['build/', '.svelte-kit/', 'dist/'],
},
{
rules: {
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{
args: 'all',
argsIgnorePattern: '^_',
caughtErrors: 'all',
caughtErrorsIgnorePattern: '^_',
destructuredArrayIgnorePattern: '^_',
varsIgnorePattern: '^_',
ignoreRestSiblings: true,
},
],
},
},
)
18 changes: 9 additions & 9 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@
"tundra-css": "^0.9.0"
},
"devDependencies": {
"@sveltejs/adapter-cloudflare": "^4.7.2",
"@sveltejs/kit": "^2.6.2",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"@sveltejs/adapter-cloudflare": "^4.7.4",
"@sveltejs/kit": "^2.7.3",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.44.1",
"eslint-plugin-svelte": "^2.45.1",
"globals": "^15.11.0",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.7",
"svelte": "4.2.19",
"svelte-check": "^4.0.4",
"svelte": "^5.0.0",
"svelte-check": "^4.0.5",
"tslib": "^2.7.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.11.0",
"vite": "^5.4.8"
},
"type": "module",
"engines": {
"node": "20"
"node": ">=20"
}
}
Loading

0 comments on commit 9b5fc89

Please sign in to comment.