chore: add eslint, prettier, lint-staged, husky, eslint, and editorconfig

This commit is contained in:
Stefan Imhoff
2023-02-12 12:23:14 +01:00
parent 99a3bdab56
commit 9bd0f772b0
6 changed files with 86 additions and 2 deletions

4
.lintstagedrc.json Normal file
View File

@@ -0,0 +1,4 @@
{
"**/*.{md,mdx,html,astro,svelte,css}": ["pnpx prettier --write"],
"**/*.{js,ts,html,astro,svelte}": ["pnpx eslint --fix"]
}