prose-lint is a lint engine for use with Phabricator‘s arc command line tool.
It uses the open source proselint tool.
Features
prose-lint generates advice messages.
Example output:
Advice (misc.annotations) proselint violation
Annotation left in text.
91
92
>>> 93 TODO(featherless): Some todo left in text.
94
95
Advice (garner.phrasal_adjectives.ly) proselint violation
No hyphen is necessary in phrasal adjectives with an adverb ending in -ly.
31
32
33
>>> 34 > This thing should be globally-unique.
35
36
37
prose-lint for arc
prose-lint is a lint engine for use with Phabricator‘s
arccommand line tool. It uses the open source proselint tool.Features
prose-lint generates advice messages.
Example output:
Installation
Install proselint
Read the proselint installation guide for more details.
Project-specific
Add this repository as a git submodule.
Your
.arcconfigshould listarc-proselintin theloadconfiguration:Global
Clone this repository to the same directory where
arcanistandlibphutilare globally located. Your directory structure will look like so:Your
.arcconfigshould listarc-proselintin theloadconfiguration (without a path):Usage
Create a
.arclintfile in the root of your project and add the following content:Feel free to change the include/exclude regexes to suit your project’s needs.
Configuration options
Checks can be ignored by configuring their severity:
License
Licensed under the Apache 2.0 license. See LICENSE for details.