Linters
Linters
- You can use various syntax checking tools when submitting patches to phabricator
List available tools
arc linters
Configuration of a specific linter for your project
- Create a .arclint file in your project with the desired linters
- In this example it has python, text, spelling and filename linters
.arclint
{ "linters": { "spelling-linter": { "type": "spelling" }, "filename-linter": { "type": "filename" }, "text-linter": { "type": "text" }, "python-checks": { "type": "pylint", "include": "(\\.py$)" } } }
Checks all files with configured linters
arc lint --everything
Official documentation
Tags
None
Subscribers
None
- Last Author
- aubort
- Last Edited
- Jun 7 2016, 12:43