Restore ESLint and Prettier auto-formatting and CI linting (#1457)

* Restore ESLint and Prettier autoformatting

* Fix formatting and lints in web files

* Hacky fix to eslint crash

* Fix remaining lints

* Add lint-fix script

---------

Co-authored-by: 0hypercube <0hypercube@gmail.com>
This commit is contained in:
Keavon Chambers
2023-11-16 13:12:47 -08:00
committed by GitHub
parent 9784d31edb
commit a6ca43bb2d
63 changed files with 5869 additions and 351 deletions

View File

@@ -3,6 +3,7 @@
"useTabs": true,
"tabWidth": 4,
"printWidth": 200,
"plugins": ["prettier-plugin-svelte"],
"overrides": [
{
"files": ["*.yml", "*.yaml"],
@@ -10,6 +11,12 @@
"useTabs": false,
"tabWidth": 2
}
},
{
"files": ["*.svelte"],
"options": {
"parser": "svelte"
}
}
]
}