Skip to content

Commit

Permalink
Hide eslint false positive warning
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelelliot committed Nov 11, 2019
1 parent 84e387a commit 874c521
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/language.js
Expand Up @@ -21,6 +21,7 @@ export const getPreferredLanguage = options => {
const { languages, overrides, fallback } = options;

if (overrides) {
// eslint-disable-next-line no-unused-vars
for (let override of overrides) {
const match = languages.find(
lang => normalizeCode(lang) === normalizeCode(override)
Expand Down

0 comments on commit 874c521

Please sign in to comment.