Add auto-formatting to client and server modules

One thing that can make linting faster is auto-formatting. This commit
adds the yapf auto-formatting tool to the server module and uses
eslint's "fix" functionality to speed up the linting/formatting process.
This commit is contained in:
Matt Weiden
2019-12-19 15:19:22 -08:00
parent cc0880560b
commit 176ea3bc91
5 changed files with 18 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
[style]
based_on_style = google
+4
View File
@@ -1,3 +1,7 @@
.PHONY: fmt
fmt:
yapf -ir .
.PHONY: clean
clean:
rm -f app/web/templates/index.html