Use Our Linter Rules to Improve Your Code

Linters help you write awesome code by flagging programming errors, bugs, stylistic errors and suspicious constructs. If you generate a plugin using our plugin generator (sf dev generate plugin), you also get our recommended linter rules. These rules help you develop the best possible commands for your users.

The rules are open-source. See the list along with setup instructions.

We recommend that you install the eslint plugin in VS Code so that you get feedback in real time as you're developing.