-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a0c8d5
commit 7497073
Showing
5 changed files
with
153 additions
and
101 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,3 @@ | ||
Test via `dotnet watch --project src` | ||
Don't fix warnings and typescript issues unless it relates to your task | ||
src/ui is svelete 5 please don't use old syntax |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import js from "@eslint/js"; | ||
import eslintConfigPrettier from "eslint-config-prettier"; | ||
import eslintPluginSvelte from "eslint-plugin-svelte"; | ||
import globals from "globals"; | ||
import tsEslint from "typescript-eslint"; | ||
import vitest from "eslint-plugin-vitest"; | ||
import playwright from "eslint-plugin-playwright"; | ||
|
||
export default [ | ||
js.configs.recommended, | ||
...tsEslint.configs.recommended, | ||
...eslintPluginSvelte.configs["flat/recommended"], | ||
eslintConfigPrettier, | ||
{ | ||
...playwright.configs["flat/playwright"], | ||
files: ["tests/**"] | ||
}, | ||
vitest.configs.recommended, | ||
...eslintPluginSvelte.configs["flat/prettier"], | ||
{ | ||
languageOptions: { | ||
ecmaVersion: "latest", | ||
sourceType: "module", | ||
globals: { ...globals.node, ...globals.browser }, | ||
parserOptions: { | ||
extraFileExtensions: [".svelte"] | ||
} | ||
} | ||
}, | ||
{ | ||
ignores: [ | ||
".svelte-kit", | ||
"build", | ||
"package", | ||
"coverage", | ||
"node_modules", | ||
"playwright.config.js" | ||
] | ||
} | ||
]; |
Oops, something went wrong.