Whymarrh Whitby
f5a125fe61
Move export defaults statements alongside their objects ( #8525 )
5 years ago
Whymarrh Whitby
a78cf0ef3a
Enable arrow-parens ESLint rule
5 years ago
Mark Stacey
ac01c5c89a
Consistent jsdoc syntax ( #7755 )
...
* Specify type before parameter name
Various JSDoc `@param` entries were specified as `name {type}` rather
than `{type} name`.
A couple of `@return` entries have been given types as well.
* Use JSDoc optional syntax rather than Closure syntax
* Use @returns rather than @return
* Use consistent built-in type capitalization
Primitive types are lower-case, and Object is upper-case.
* Separate param/return description with a dash
5 years ago
Whymarrh Whitby
92971d3c87
Migrate codebase to use ESM ( #7730 )
...
* Update eslint-plugin-import version
* Convert JS files to use ESM
* Update ESLint rules to check imports
* Fix test:unit:global command env
* Cleanup mock-dev script
5 years ago
S.C. Chen
1a4203a8c6
Fix locale codes contains underscore will never be preferred ( #6116 )
6 years ago
brunobar79
a8f745f9fe
eslint --fix .
6 years ago
Dan Finlay
11bfdf444d
Handle brave throws
7 years ago
Jenny Pollack
fd8bcc9cb1
lint
7 years ago
Jenny Pollack
01a1eff8a8
remove loglevel
7 years ago
Jenny Pollack
7edde61c12
preferred first languauge - check for Brave
7 years ago
Jenny Pollack
275c31855d
first language - add check for brave browser on getAcceptLanguages
7 years ago
kumavis
e3ecc94a52
i18n - getFirstPreferredLangCode - guard against missing i18n api
...
fix for brave
7 years ago
Dan
7b5d506cec
Document async function as returning a promise.
7 years ago
Dan
20a075657f
Documentation for various controllers and libs
7 years ago
Dan
3c4b72bf2c
Map existingLocaleCodes and userPreferredLocaleCodes to lower case in get-first-preferred-lang-code.js
7 years ago
Dan
5aff114001
Ensure get-first-preferred-lang-code.js matches locale codes from local directory names and chrome extension api.
7 years ago
kumavis
165ae7d193
i18n - derrive locale codes from index
7 years ago
Dan
be2254b880
Remove comments and console.logs
7 years ago
Dan
b9309f689b
Use extension api to get initial locale.
7 years ago