1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-22 21:40:54 +01:00
phorge-arcanist/resources
Joshua Spence 494d974005 Move ArcanistSpellingDefaultData into a configurable JSON file
Summary: Currently, the `ArcanistSpellingLinter` loads data from `ArcanistSpellingDefaultData`, with no way to configure the linter from an `.arclint` file. Instead we should define a format for a "dictionary" file, of which the `ArvcanistSpellingLinter` can load and of which the paths are easily configured through `.arclint`.

Test Plan:
Updated the test case and ran `arc unit`.

NOTE: I have removed the `LINT_SPELLING_PICKY` and `LINT_SPELLING_IMPORTANT` constants and replaced them with `LINT_SPELLING_FULL` and `LINT_SPELLING_PARTIAL`. This was done because it simplifies the implementation considerably and makes customization of the `ArcanistSpellingLinter` simpler, but also because these constants were not widely used in the existing implementation.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9805
2014-07-04 08:18:33 +10:00
..
arclint Add some example .arclint files to un-lie the pending documentation 2014-05-11 20:22:57 -07:00
shell Add support for zsh completion to bash-completion 2012-01-09 11:52:51 -08:00
spelling Move ArcanistSpellingDefaultData into a configurable JSON file 2014-07-04 08:18:33 +10:00
test Various linter fixes 2014-02-25 07:53:07 -08:00
php_compat_info.json Read extension classes and functions from php_compat_info.json. 2014-06-23 04:26:01 +10:00