Class ArcanistSpellingLinter
Enforces basic spelling. Spelling inside code is actually pretty hard to
get right without false positives. I take a conservative approach and
just use a blacklisted set of words that are commonly spelled
incorrectly.
Tasks
Methods
public this __construct($severity = self::LINT_SPELLING_PICKY)
| parameters | wild | $severity | |
| return | this | | |
This method is not documented.
public addPartialWordRule($incorrect_word, $correct_word, $severity = self::LINT_SPELLING_IMPORTANT)
| parameters | wild | $incorrect_word | |
| wild | $correct_word | |
| wild | $severity | |
| return | wild | | |
This method is not documented.
public addWholeWordRule($incorrect_word, $correct_word, $severity = self::LINT_SPELLING_IMPORTANT)
| parameters | wild | $incorrect_word | |
| wild | $correct_word | |
| wild | $severity | |
| return | wild | | |
This method is not documented.
protected checkPartialWord($path, $word, $correct_word, $severity)
| parameters | wild | $path | |
| wild | $word | |
| wild | $correct_word | |
| wild | $severity | |
| return | wild | | |
This method is not documented.
protected checkWholeWord($path, $word, $correct_word, $severity)
| parameters | wild | $path | |
| wild | $word | |
| wild | $correct_word | |
| wild | $severity | |
| return | wild | | |
This method is not documented.
public static fixLetterCase($string, $case)
| parameters | wild | $string | |
| wild | $case | |
| return | wild | | |
This method is not documented.
public getLintNameMap()
This method is not documented.
public getLintSeverityMap()
This method is not documented.
public getLinterName()
This method is not documented.
public lintPath($path)
| parameters | wild | $path | |
| return | wild | | |
This method is not documented.
public removeLintRule($word)
| parameters | wild | $word | |
| return | wild | | |
This method is not documented.
public willLintPaths(array $paths)
| parameters | array | $paths | |
| return | wild | | |
This method is not documented.