Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tighten the vars-argument for the ESLint no-unused-vars rule #15775

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus
Copy link
Collaborator Author

/botio-windows browsertest

@Snuffleupagus
Copy link
Collaborator Author

Snuffleupagus commented Dec 4, 2022

Slightly off-topic here: I've also been looking into possibly enabling the args: after-used option, however that's less straightforward unfortunately.
The reason is that we have loads of interface definitions, base classes, and placeholder methods where arguments are "unused" by design. Hence we'd likely have to add // eslint-disable-next-line no-unused-vars comments all over the code-base, which doesn't feel great, but the rule could possibly still be useful in order to find truly unused arguments!?

@mozilla mozilla deleted a comment from pdfjsbot Dec 4, 2022
@mozilla mozilla deleted a comment from pdfjsbot Dec 4, 2022
@mozilla mozilla deleted a comment from pdfjsbot Dec 4, 2022
@mozilla mozilla deleted a comment from pdfjsbot Dec 4, 2022
@mozilla mozilla deleted a comment from pdfjsbot Dec 4, 2022
@mozilla mozilla deleted a comment from pdfjsbot Dec 4, 2022
@pdfjsbot
Copy link

pdfjsbot commented Dec 4, 2022

From: Bot.io (Windows)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/a174960c9e889a9/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Dec 4, 2022

From: Bot.io (Linux m4)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/1e80f2449217ca5/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Dec 4, 2022

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/1e80f2449217ca5/output.txt

Total script time: 25.46 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: Passed
  • Regression tests: FAILED
  different ref/snapshot: 6

Image differences available at: http://54.241.84.105:8877/1e80f2449217ca5/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Dec 4, 2022

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/a174960c9e889a9/output.txt

Total script time: 33.38 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: FAILED
  • Regression tests: FAILED
  different ref/snapshot: 14

Image differences available at: http://54.193.163.58:8877/a174960c9e889a9/reftest-analyzer.html#web=eq.log

Copy link
Contributor

@calixteman calixteman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Snuffleupagus Snuffleupagus merged commit 0ca92bf into mozilla:master Dec 7, 2022
@Snuffleupagus Snuffleupagus deleted the vars-all branch December 7, 2022 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants