Commit Graph

27 Commits (21c30f74af8bc926d6c651a9dda89493adb8954c)

Author SHA1 Message Date
Mark Stacey 3732c5f71e
Add JSDoc ESLint rules (#12112) 3 years ago
Alex Donesky 22378e4f72
fix issue where regional locales are not matched against our locales list (#12403) 3 years ago
Mark Stacey 352dbd8831 Replace uses of `hasOwnProperty.call` with simpler alternatives (#11009) 4 years ago
Mark Stacey 89ef78674d
Replace uses of `hasOwnProperty.call` with simpler alternatives (#11009) 4 years ago
Erik Marks 76a2a9bb8b
@metamask/eslint config@5.0.0 (#10358) 4 years ago
Mark Stacey 14d85b1332
Make JSDoc formatting more consistent (#9796) 4 years ago
Brad Decker 2ebf8756a4
[RFC] add prettier to eslint (#8595) 4 years ago
Whymarrh Whitby 146127c474
Fix no-prototype-builtins issues (#9213) 4 years ago
Whymarrh Whitby 4f0a205369
Use eslint@6.8.0 (#8978) 4 years ago
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) 5 years ago
Whymarrh Whitby 92971d3c87
Migrate codebase to use ESM (#7730) 5 years ago
S.C. Chen 1a4203a8c6 Fix locale codes contains underscore will never be preferred (#6116) 6 years ago
brunobar79 a8f745f9fe eslint --fix . 7 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 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