CSBP-CPSE / web-mapping-components

Other
2 stars 2 forks source link

Add linter to the project #33

Closed roikle closed 1 year ago

roikle commented 3 years ago

Issue: Currently the project doesn't use a linter for maintaining consistent code styling in the project.

Possible Solution Steps:

  1. Add a linter.dependency to package.json (e.g. eslint)
  2. Define a collectively agreed upon list of code styling rules to follow and include it in the repository root directory.
  3. Update package.json to include linter to scripts so it can be run from the command line.
  4. Apply style rules to code base and update code where required.