Export helper functions for plugins to use
Open
- Dominant language
- JavaScript
- Stars
- 666
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
`assignBody` is a helper function used in a couple of the default plugins. It should be moved to somewhere more useful, so that other plugins can use it too.
https://github.com/scottkellum/CJSS/blob/367dad1d442b7df2adf74b705b7934a7018b0f67/src/defaultPlugins.js#L61
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with src/defaultPlugins.js at the linked line and inspect the existing assignBody call sites. Determine a reusable location that external plugins can access, then confirm the default plugins still use the helper and continue working after it is made available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100