Subj : Re: JS script cleanup/formatting To : Tracker1 From : Tracker1 Date : Thu Nov 05 2020 10:59 am On 10/29/2020 8:45 PM, Tracker1 wrote: > Any thoughts on cleaning up the JS files and running through a > linter/formatter for a consistent formatting? > > 1. There are some .js files that have hard coded CP437 characters in > them, these should be changed to use at least escape codes instead of > the characters directly (octal or hex).  By doing this, the files should > be able to be read with UTF8 editors without issue. > > 2. Would be nice to agree upon a standard format and linting for > formatting... most likely eslint with either prettier, standard, airbnb, > and/or other format options.  I would suggest 2 spaces for indentation, > as this is what the broader JS community has adopted in most libraries. > > 3. Would be a followup to address linting issues that don't meet > auto-formatting. > -- Michael J. Ryan tracker1 +o Roughneck BBS --- þ Synchronet þ Roughneck BBS - roughneckbbs.com .