Commit Graph

1 Commits

Author SHA1 Message Date
Matthew Soulanille
16bde6b17e pw_web_ui: Add linting with eslint and prettier
Uses gts to run eslint and prettier.gts is Google's TypeScript
formatter (https://github.com/google/gts).

Run `yarn run check` or `yarn run fix` to lint or format the code.
A future CL will add running this linter as a presubmit step.

This CL also formats several project files that weren't linted.

Change-Id: Ibfee61efb0d1f18cbd9aae5e6cb32687e8dce8ac
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/12120
Commit-Queue: Matthew Soulanille <msoulanille@google.com>
Reviewed-by: Matthew Soulanille <msoulanille@google.com>
Reviewed-by: Alexei Frolov <frolv@google.com>
Reviewed-by: Max Koopman <koopman@google.com>
2020-06-25 20:51:30 +00:00