noarave created this task. noarave added projects: Wikidata, wmde-wikidata-tech. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION As a developer working on the EntitySchema extension, I want to make sure the JS linting rules align with current common practices **Problem:** The EntitySchema linter config <https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/EntitySchema/+/refs/heads/master/.eslintrc.json> is a few years old and not up to date with common technologies/pratices **Example:** This change <https://gerrit.wikimedia.org/r/c/mediawiki/extensions/EntitySchema/+/900644> adds es6 support to the linter config. Suggested improvements: - Make `eslintrc.json` an easier to work with .js file - Require trailing commas in multiline arrays / objects In general we want to take a look at more current projects to see what rules are used there (for example Special:NewLexeme linter config <https://github.com/wmde/new-lexeme-special-page/blob/main/.eslintrc.js>) TASK DETAIL https://phabricator.wikimedia.org/T332554 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: noarave Cc: Aklapper, noarave, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org