Add Prettier

This commit is contained in:
He4eT 2025-06-05 04:25:32 +02:00
commit ea8b5daf1a
2 changed files with 9 additions and 0 deletions

6
.prettierrc.json Normal file
View file

@ -0,0 +1,6 @@
{
"printWidth": 80,
"quoteProps": "consistent",
"semi": false,
"singleQuote": true
}

View file

@ -5,6 +5,9 @@ build_dir := ./build
tic_cmd := tic80 --skip --fs './' tic_cmd := tic80 --skip --fs './'
prettier:
npx prettier --write ${game_src}
run: run:
${tic_cmd} ${game_src} ${tic_cmd} ${game_src}