Esri / Esri/esri-leaflet-geocoder
Enable (or fix) linting auto-formatting
- Dominant language
- JavaScript
- Stars
- 251
- Forks
- 101
- PR merge metrics
- No merged PRs in 30d
Description
Our [build process checks for linting errors](https://github.com/Esri/esri-leaflet-geocoder/blob/059a831609a239cf568a31cbff8d43028e1a0e3b/package.json#L76), but code editor plugins typically will rely on an `.eslintrc` file to auto-lint for you. We should set this up so editing is easier in the future ( the [frustration is real](https://github.com/Esri/esri-leaflet-geocoder/pull/245#issuecomment-632052027) :-)
See:
- https://www.npmjs.com/package/eslint-config-semistandard
- https://eslint.org/docs/developer-guide/shareable-configs
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linting command in package.json and review the referenced eslint-config-semistandard and shareable-config documentation. Determine the appropriate .eslintrc setup for this JavaScript project, then verify that editor linting and the existing build lint check use the same configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, javascript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100