concept linter in category swift

appears as: linter, A linter
Swift in Depth

This is an excerpt from Manning's book Swift in Depth.

14.3.2. Enforcing rules with a linter

You can increase codebase consistency and minimize style discussions by adding a linter to a project. A linter tries to detect problems, suspicious code, and style deviations before you compile or run your program. Using a linter to analyze your code ensures that you keep a consistent codebase across teams and projects.

With the help of a linter, both newcomers and veterans to a project can work on new and old code and maintain a consistent style enforced by the linter. A linter even helps you check for bad practices that may occur from time to time.