Proposal to replace Clang Format with ESLint and Prettier in phosphor-webui
derick.montague at gmail.com
Thu Jul 11 03:17:01 AEST 2019
Thanks Ed for the reviews and support on the GUI tools work! I ran into a
roadblock with the format-code.sh call. I am not finding Prettier as an
package and won't be able to make the call during the build process.
I am able to use a Git hook to test the code prior to commit and/or push.
I added the npm scripts that can be called for testing and fixing (if
so that they can be run from the command line for anyone that doesn't
integrated with their code editor (it even has VIM support).
I have these changes in the Gerrit review
and am hoping that this is an acceptable solution.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openbmc