Page MenuHomePhabricator

Eslint: Error out when warnings exist
Closed, ResolvedPublic

Description

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.

Related Objects

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 860025 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] eslint: Remove unneeded suppression

https://gerrit.wikimedia.org/r/860025

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

https://gerrit.wikimedia.org/r/860046

Change 860020 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] eslint: Don't allow warnings

https://gerrit.wikimedia.org/r/860020

Change 860025 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] eslint: Remove unneeded suppression

https://gerrit.wikimedia.org/r/860025

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

https://gerrit.wikimedia.org/r/867530

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

https://gerrit.wikimedia.org/r/867539

Change 867540 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] eslint: Silence more compat/compat warnings

https://gerrit.wikimedia.org/r/867540

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

https://gerrit.wikimedia.org/r/867569

Change 860046 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] eslint: Silence compat/compat warnings

https://gerrit.wikimedia.org/r/860046

Change 867530 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] eslint: Increase max-len to 120 for Vue files

https://gerrit.wikimedia.org/r/867530

Change 867539 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] eslint: Fix vue/require-explicit-emits warnings

https://gerrit.wikimedia.org/r/867539

Change 867540 abandoned by Kosta Harlan:

[mediawiki/extensions/GrowthExperiments@master] eslint: Silence more compat/compat warnings

Reason:

https://gerrit.wikimedia.org/r/867540

Change 868031 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] eslint: Silence more compat/compat warnings

https://gerrit.wikimedia.org/r/868031

Change 868032 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] eslint: Fix JSDoc warnings

https://gerrit.wikimedia.org/r/868032

Change 868031 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] eslint: Silence more compat/compat warnings

https://gerrit.wikimedia.org/r/868031

Change 867569 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] eslint: Fix max-len issues in test files

https://gerrit.wikimedia.org/r/867569

Change 868032 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] eslint: Fix JSDoc warnings

https://gerrit.wikimedia.org/r/868032

Change 868042 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] NoEditsDisplay: Fix eslint warnings

https://gerrit.wikimedia.org/r/868042

Change 868042 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] NoEditsDisplay: Fix eslint warnings

https://gerrit.wikimedia.org/r/868042

Change 860020 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] eslint: Error on warnings

https://gerrit.wikimedia.org/r/860020