mirror of
https://github.com/He4eT/DotDashPit.git
synced 2026-05-04 17:37:23 +00:00
Add Prettier
This commit is contained in:
parent
049510a18a
commit
ea8b5daf1a
2 changed files with 9 additions and 0 deletions
6
.prettierrc.json
Normal file
6
.prettierrc.json
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"printWidth": 80,
|
||||||
|
"quoteProps": "consistent",
|
||||||
|
"semi": false,
|
||||||
|
"singleQuote": true
|
||||||
|
}
|
||||||
3
Makefile
3
Makefile
|
|
@ -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}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue