]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Update spelling replacement rule for 'algorithmical'
authorepriestley <git@epriestley.com>
Mon, 8 Jul 2013 16:46:24 +0000 (09:46 -0700)
committerepriestley <git@epriestley.com>
Mon, 8 Jul 2013 16:46:24 +0000 (09:46 -0700)
Summary:
I suspect that when people use 'algorithmical', they mean it as an adjective and not an adverb.

'algorithmic' = adjective
'algorithmically' = adverb

Test Plan: Add the word 'algorithmical' to a file. Run `arc lint` on the file. See suggestion to correct it to 'algorithmic'.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D6373

src/lint/linter/spelling/ArcanistSpellingDefaultData.php

index 5c69a9f73c98fafbb94e6c2b0d0ce19c63b970e7..b86a2ddbae4af3bb6ebe8c87f0ab860062692029 100644 (file)
@@ -51,7 +51,7 @@ class ArcanistSpellingDefaultData {
        "albumns" => "albums",
        "alegorical" => "allegorical",
        "algorith" => "algorithm",
-       "algorithmical" => "algorithmically",
+       "algorithmical" => "algorithmic",
        "algoritm" => "algorithm",
        "algoritms" => "algorithms",
        "algorrithm" => "algorithm",