We have a lot of warnings (79) in the console when we run npm test. Let's configure eslint to error out on warnings (max-warnings: 0) and fix the warnings.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T311850 [Epic] FY 2022-23 Growth Maintenance Work | |||
Resolved | None | T320744 [Epic] Q2 FY 2022-23 Growth Maintenance Work | |||
Resolved | kostajh | T323704 Eslint: Error out when warnings exist |
Event Timeline
Change 860025 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] eslint: Remove unneeded suppression
Change 860046 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] eslint: Fix compat/compat and Vue warnings
Change 860020 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] eslint: Don't allow warnings
Change 860025 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] eslint: Remove unneeded suppression
Change 867530 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] eslint: Increase max-len to 120 for Vue files
Change 867539 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] eslint: Fix vue/require-explicit-emits warnings
Change 867540 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] eslint: Silence more compat/compat warnings
Change 867569 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] eslint: Fix max-len issues in test files
Change 860046 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] eslint: Silence compat/compat warnings
Change 867530 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] eslint: Increase max-len to 120 for Vue files
Change 867539 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] eslint: Fix vue/require-explicit-emits warnings
Change 867540 abandoned by Kosta Harlan:
[mediawiki/extensions/GrowthExperiments@master] eslint: Silence more compat/compat warnings
Reason:
Change 868031 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] eslint: Silence more compat/compat warnings
Change 868032 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] eslint: Fix JSDoc warnings
Change 868031 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] eslint: Silence more compat/compat warnings
Change 867569 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] eslint: Fix max-len issues in test files
Change 868032 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] eslint: Fix JSDoc warnings
Change 868042 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] NoEditsDisplay: Fix eslint warnings
Change 868042 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] NoEditsDisplay: Fix eslint warnings
Change 860020 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] eslint: Error on warnings