diff --git a/.prettierrc b/.prettierrc
index 91210d5a7..efd119c33 100644
--- a/.prettierrc
+++ b/.prettierrc
@@ -3,20 +3,16 @@
"useTabs": true,
"tabWidth": 4,
"printWidth": 200,
- "plugins": ["prettier-plugin-svelte"],
"overrides": [
{
- "files": ["*.yml", "*.yaml"],
+ "files": [
+ "*.yml",
+ "*.yaml"
+ ],
"options": {
"useTabs": false,
"tabWidth": 2
}
- },
- {
- "files": ["*.svelte"],
- "options": {
- "parser": "svelte"
- }
}
]
}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 7b921356a..e98cf33c3 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -21,7 +21,7 @@
// Configured in `.prettierrc`
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
- "[yaml][github-actions-workflow]": {
+ "[json][jsonc][yaml][github-actions-workflow]": {
"editor.formatOnSave": true,
// Configured in `.prettierrc`
"editor.defaultFormatter": "esbenp.prettier-vscode"
diff --git a/frontend/.eslintrc.cjs b/frontend/.eslintrc.cjs
index acbaae233..b8b9123a3 100644
--- a/frontend/.eslintrc.cjs
+++ b/frontend/.eslintrc.cjs
@@ -12,7 +12,7 @@ module.exports = {
],
plugins: ["import", "@typescript-eslint", "prettier"],
settings: {
- "import/parsers": { "@typescript-eslint/parser": [".ts", ".tsx"] },
+ "import/parsers": { "@typescript-eslint/parser": [".ts"] },
"import/resolver": { typescript: true, node: true },
},
parser: "@typescript-eslint/parser",
@@ -32,16 +32,16 @@ module.exports = {
"!.*.ts",
],
overrides: [
- {
- files: ["*.js"],
- rules: { "@typescript-eslint/explicit-function-return-type": ["off"] },
- },
{
files: ["*.svelte"],
parser: "svelte-eslint-parser",
// Parse the `
+