meshcat-dev / meshcat

Remotely-controllable 3D viewer, built on top of three.js
MIT License
250 stars 44 forks source link

Add linting, pre-commit, and CI #158

Open jiuguangw opened 9 months ago

jiuguangw commented 9 months ago

This PR provides several infrastructure related improvements to Meshcat, primarily in the form of a linter, according to the JavaScript Standard Style. A bulk of the linter errors have been addressed already, with the exception of the following (disabled via comment in src/index.js):

In addition,

Please note that GitHub repos have a setting called "run workflows from fork pull requests" - it seems that this is disabled right now, which is why the CI is not triggering. The CI result from my fork can be found here.

jiuguangw commented 9 months ago

@RussTedrake , just tagging you on this PR in advance of our meeting tomorrow.