suggestion: Deno Style Guide lint plugin
- Dominant language
- TypeScript
- Stars
- 3.6k
- Forks
- 681
- PR merge metrics
- No merged PRs in 30d
Description
I suggest we create a lint plugin to enforce the rules of the [Deno Style Guide](https://docs.deno.com/runtime/contributing/style_guide/). `std` can be the project used to quickly iterate on this until maturity. Then, we could create a `@deno/style-guide-lint-plugin` package for internal and user Deno projects to use.
The following rules can each correspond to a lint rule:
- [x] Exported functions: max 2 args, put the rest into an options object (#6561)
- [ ] Export all interfaces that are used as parameters to an exported member
- [x] Top-level functions should not use arrow syntax (#6558)
- [x] Error Messages (#6553)
- [x] Do not depend on external code (#6562)
- [x] Prefer # over private keyword (#6550)
- [x] Naming convention (#6559)
Contributor guide
Assessment
This issue has not been assessed yet.