Are there any tools for enforcing coding style / linting

In particular I’d like to use PureScript for a project, but I want to avoid having people use points-free style since it can make code more difficult to understand.

1 Like

Funny you should ask this. I’m actually working on a couple of different tools. One of which is a linter. No ETA yet, but a release for some of these are on the scale of weeks rather than months. I’ll be sure to announce here when it’s released.

6 Likes

It is not a linter, but purty can help with ensuring consistent code formatting.

1 Like

@joneshf that’s excellent news! I can definitely wait a few weeks. :slightly_smiling_face: Any plans to make it pluggable?

Items on my linter wishlist are warnings for:

  • Variable shadowing
  • Unused variables