forked from probablykasper/date-picker-svelte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge upstream change to upgrade svelte to v5 (#7)
* merge upstream repository changes and upgrade it to svelte 5 * format
- Loading branch information
1 parent
dd2ae0a
commit 8363ac0
Showing
20 changed files
with
2,894 additions
and
4,087 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@undp-data/date-picker-svelte': patch | ||
--- | ||
|
||
merge upstream repository changes and upgrade it to svelte 5 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
16 | ||
20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
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' | ||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
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/'], | ||
}, | ||
] |
Oops, something went wrong.