Fix linting errors in locale/index.js

What does this MR do?

locale/index.js was mistakenly ignored by ESLint. This changes the ignore rules and fixes the existing linting error.

Merge request reports

Loading