Skip to content

Explore adding eslint or similar for enforced code styling  #23

@bbimber

Description

@bbimber

While the lab's modules has JS going back 10+ years, the typescript/react codebase is almost brand new. It might be useful to have a build step that automatically enforces code styling. eslint is one I'm vaguely familiar with, and has some LabKey hooks:

https://github.com/LabKey/labkey-ui-components/blob/develop/packages/eslint-config-base/README.md

I'd be in favor of putting in some tighter restrictions on styling (like var/let/const), etc. Also enforcing a standard code style. Do you have experience with eslint or similar, and can you have a look at this or similar options?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions