Page MenuHomePhabricator

Update eslint/jshint configuration on wikidata-query-gui
Open, Needs TriagePublic

Description

Currently, wikidata-query-gui uses the same eslint/jshint configuration for the main source code and the tests. This is annoying, because it means we can’t use arrow functions, async/await, etc. in the tests, even though those tests will only run on Node.js versions that have support for these features. It would be nice to split up the config, so that we still require “conservative” JavaScript for the main source code, but allow more modern code in the tests.

It’s probably also a good idea to check why we’re combining eslint and jshint.

This came up in the context of T291467.

Event Timeline

Lucas_Werkmeister_WMDE renamed this task from Fix eslint/jshint configuration on wikidata-query-gui to Update eslint/jshint configuration on wikidata-query-gui.Sep 21 2021, 12:56 PM
Lucas_Werkmeister_WMDE updated the task description. (Show Details)