This PR adds linting to the repo using eslint and prettier, based on the approach taken in JupyterLite and the terminal extension. It is quite invasive of course, but most of the changes are adding trailing semicolons and using single quotes. There are a few real improvements though, the use of hasOwnProperty and some comparison operators.
The CI workflow includes linting before testing, and the README indicates how to run it locally.
Fixes #8.
This PR adds linting to the repo using
eslint
andprettier
, based on the approach taken in JupyterLite and the terminal extension. It is quite invasive of course, but most of the changes are adding trailing semicolons and using single quotes. There are a few real improvements though, the use ofhasOwnProperty
and some comparison operators.The CI workflow includes linting before testing, and the README indicates how to run it locally.