grafana / grafana/plugin-tools
Lodash eslint rules for better tree-shaking
Open
- Dominant language
- TypeScript
- Stars
- 89
- Forks
- 57
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 37
Description
Despite `lodash` being on the external list, certain approaches to importing from `lodash` increase plugin bundle size more than others.
Perhaps we can integrate some eslint-plugin-lodash rules to enforce better tree-shaking in plugins?
- https://www.npmjs.com/package/eslint-plugin-lodash
- https://github.com/idok/eslint-plugin-lodash
Or...
- https://www.npmjs.com/package/eslint-plugin-tree-shaking
- https://github.com/lukastaegert/eslint-plugin-tree-shaking
Contributor guide
Assessment
This issue has not been assessed yet.