Closed das7pad closed 4 years ago
For https://github.com/overleaf/issues/issues/3454
This PR allows us to insert not-so correct words like COVID into the ignored misspellings w/o impacting hosted versions.
COVID
https://github.com/overleaf/issues/issues/3454
High. The ignored misspellings array is accessed on every spell check request. There are acceptance tests to cover the code path.
diff --git a/docker-compose.yml b/docker-compose.yml index bfe2d3c7a..4f6e26264 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -258,0 +259,2 @@ services: + environment: + IGNORED_MISSPELLINGS: 'COVID,ShareLaTeX'
dev-env$ bin/up core spelling
Description
For https://github.com/overleaf/issues/issues/3454
This PR allows us to insert not-so correct words like
COVID
into the ignored misspellings w/o impacting hosted versions.Related Issues / PRs
https://github.com/overleaf/issues/issues/3454
Potential Impact
High. The ignored misspellings array is accessed on every spell check request. There are acceptance tests to cover the code path.
Manual Testing Performed
dev-env$ bin/up core spelling
COVID
and another misspelled word -- only the other word should get marked as misspelledDeployment Checklist