-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: update to svelte 5, update eslint, remove storybook (#971)
* feat: update to svelte 5, update eslint, remove storybook storybook only causes errors left and right and I don't have energy to keep it working * rm dep * update embed
- Loading branch information
Showing
31 changed files
with
2,008 additions
and
6,214 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -27,12 +27,6 @@ svelte-vega/ | |
|
||
### Development | ||
|
||
#### Run storybook | ||
|
||
```sh | ||
yarn storybook | ||
``` | ||
|
||
#### Run sample | ||
|
||
```sh | ||
|
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,47 @@ | ||
// @ts-check | ||
import js from '@eslint/js'; | ||
import prettier from 'eslint-plugin-prettier/recommended'; | ||
import svelte from 'eslint-plugin-svelte'; | ||
import svelteParser from 'svelte-eslint-parser'; | ||
import ts from 'typescript-eslint'; | ||
|
||
/** @type {import('typescript-eslint').Config} */ | ||
export default ts.config( | ||
js.configs.recommended, | ||
...ts.configs.recommended, | ||
...svelte.configs['flat/recommended'], | ||
prettier, | ||
...svelte.configs['flat/prettier'], | ||
{ | ||
languageOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
parserOptions: { | ||
parser: ts.parser, | ||
extraFileExtensions: ['.svelte'] | ||
} | ||
} | ||
}, | ||
{ | ||
files: ['**/*.svelte', '*.svelte'], | ||
languageOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
parser: svelteParser, | ||
parserOptions: { | ||
parser: ts.parser, | ||
extraFileExtensions: ['.svelte'] | ||
} | ||
} | ||
}, | ||
{ | ||
rules: { | ||
'@typescript-eslint/no-require-imports': 'warn', | ||
'@typescript-eslint/no-unused-expressions': 'warn', | ||
'no-undef': 'warn' | ||
} | ||
}, | ||
{ | ||
ignores: ['**/_gh-pages/', '**/.svelte-kit/', '**/dist/'] | ||
} | ||
); |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.