Move language filter list recommendation functionality to src/ directory
Background / User story
We've been making good progress in cleaning up the codebase and structuring it a bit better by introducing the src/ directory, where we enforce a community-based coding style and where we have type definitions. Now that this has stabilized, we can take the next step and move all of our legacy code into the src/ directory to benefit from those improvements across the entire codebase.
What to change
- Design: N/A
- Research: N/A
- Spec: N/A
- Legal: N/A
-
Development:
- Move lib/recommendLanguage.js file to src/recommend-language/background/.
- Apply new coding style to that file.
- Convert that file to an ECMAScript module.
- Convert that file to TypeScript.
- Make sure that all module initialization is happening in the
start()
function. - Make sure that others only import it via the corresponding index.ts file.
Hints for testers
TBD
Hints for translators
N/A
Edited by Thomas Greiner