4

I haven't seen an Apex linter and was wondering if anyone knew of one or had repurposed a Java linter? I'm so used to having this available when writing JavaScript or Ruby, it would be awesome to see the same reminders while coding Apex.

  • 4
    You might consider looking into PMD. It does more than linting, but I think it can be used for that to some extent. – Adrian Larson Jun 27 '17 at 17:12
12

There's PMD Apex, which has a bunch of linting, plus various rules for SOQL inside loops, etc. That's the only one I'm aware of today.

2

sorry, this is an old post. But consider Clayton.io. It attaches to your source control repository (assuming you have one). I think it works on bitbucket and github at least.

I've used it for a month or two and it's great https://www.clayton.io/

Cheers Scott

0

We are currently working with this one and it seems promising:

https://github.com/renatoliveira/apexlint

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.