Currently, the Wikimedia portals ESlint configuration ignores the ./data directory. This leads to unnecessary inconsistencies in the code. Instead, that directory should be linted with the proper wikimedia/server configuration and the linting errors should be fixed.
Additionally, the src directory is linted with "env": { "browser": true } in src/.eslintrc.json even though it contains controller.js files which are processed with Node.js. The configuration should be updated to exclude these files instead of marking them with eslint-env node, es6 comments in each individual file.
Note: Files can potentially be fixed with the npm run lint:fix command.