-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MultiSelect
fix form validation not resetting when required
prop …
…changes (#286) * update deps except vite vite 5.2+ seems to break mdsvexamples * migrate eslint to v9 flat config * CSS.highlights no longer eslint undef * MultiSelect fix form validation reset when required prop changes * only run unit tests in CI, playwright been broken long time * add test for submittable form after toggling required prop
- Loading branch information
Showing
10 changed files
with
95 additions
and
55 deletions.
There are no files selected for viewing
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 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
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,41 @@ | ||
import svelte from 'eslint-plugin-svelte' | ||
import globals from 'globals' | ||
import tslint from 'typescript-eslint' | ||
|
||
/** @type { import("eslint").Linter.FlatConfig[] } */ | ||
export default [ | ||
...tslint.configs.recommended, | ||
...svelte.configs[`flat/recommended`], | ||
{ | ||
rules: { | ||
'@typescript-eslint/no-unused-vars': [ | ||
`error`, | ||
{ argsIgnorePattern: `^_`, varsIgnorePattern: `^_` }, | ||
], | ||
'@typescript-eslint/quotes': [`error`, `backtick`, { avoidEscape: true }], | ||
'svelte/no-at-html-tags': `off`, | ||
}, | ||
}, | ||
{ | ||
languageOptions: { | ||
ecmaVersion: 2020, | ||
globals: { | ||
...globals.browser, | ||
...globals.es2017, | ||
...globals.node, | ||
$$Generic: false, | ||
}, | ||
}, | ||
}, | ||
{ | ||
files: [`**/*.svelte`], | ||
languageOptions: { | ||
parserOptions: { | ||
parser: tslint.parser, | ||
}, | ||
}, | ||
}, | ||
{ | ||
ignores: [`build/`, `.svelte-kit/`, `package/`, `vite.config.ts.*`], | ||
}, | ||
] |
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
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
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