Fix JS variable names on MusicBrainz to all follow camelCase
We use a tool called ESLint to find problems in our JavaScript code and ensure it has a consistent style. ESLint is configured to use "rules" which each check for a different problem in the code.
This task requires you to fix all problems detected by the camelcase rule.
To invoke this rule and find a list of such problems, you must first navigate to the git checkout of musicbrainz-server in your terminal, and run:
./script/check_eslint_rule 'camelcase: [warn, {properties: never, allow: [ "^(N_)?l[np]?(_[a-z_]+)?$" ]}]' root/
The output will tell you which files it detected problems in, including line numbers, alongside a description of the actual issue on each line.
For this task, you'll need to fix any remaining snake_case variables names reported by ESLint to follow camelCase instead. Note: only class/constructor names should use PascalCase (i.e. UpperCamelCase), so please also fix any variable names reported that aren't a constructor to begin with a lowercase letter.
To complete the task, submit a pull request to our GitHub repository with a proper description mentioning the specific rule, and respond to any suggestions and requests by the MusicBrainz developers until the pull request is approved (you do not need to wait until it gets merged).