+
+ dispatch("click")}
+ {type}
+ {target}
+ {tabIndex}
+ {disabled}
+ >
{#if loading}
@@ -33,34 +45,37 @@
diff --git a/package.json b/package.json
index a74965dc8fa7..5de4704c51c0 100644
--- a/package.json
+++ b/package.json
@@ -11,8 +11,8 @@
"test:ci": "yarn web test:ci",
"web": "yarn workspace @librelingo/web",
"types": "yarn workspaces run types",
- "format": "eslint . --fix --max-warnings=0",
- "lint": "eslint . --max-warnings=0",
+ "format": "eslint . --fix --max-warnings=0 && prettier --write apps/**/*.svelte --ignore-path ./.prettierignore_for_svelte",
+ "lint": "eslint . --max-warnings=0 && prettier --check apps/**/*.svelte --ignore-path ./.prettierignore_for_svelte",
"exportAllCourses": "./scripts/exportAllYamlCourses.sh",
"exportCourse": "./scripts/exportYamlCourse.sh",
"docs": "poetry run mkdocs serve",
diff --git a/prettier.config.js b/prettier.config.js
new file mode 100644
index 000000000000..a43ab29ded20
--- /dev/null
+++ b/prettier.config.js
@@ -0,0 +1,3 @@
+module.exports = {
+ semi: false,
+}