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

Enable the ESLint no-debugger and no-alert rules #12448

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

The debugger-statement would only, potentially, make sense during development and we thus want to prevent it from being accidentally included when landing code.
The alert, confirm, and prompt functions should generally be avoided, with the few intended cases manually allowed.

Please find additional details about the ESLint rules at:

The `debugger`-statement would only, potentially, make sense during development and we thus want to prevent it from being accidentally included when landing code.
The `alert`, `confirm`, and `prompt` functions should generally be avoided, with the few intended cases manually allowed.

Please find additional details about the ESLint rules at:
 - https://eslint.org/docs/rules/no-debugger
 - https://eslint.org/docs/rules/no-alert
@Snuffleupagus
Copy link
Collaborator Author

/botio lint

@pdfjsbot
Copy link

pdfjsbot commented Oct 5, 2020

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/fda26da9a289811/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Oct 5, 2020

From: Bot.io (Windows)


Received

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

Live output at: http://54.215.176.217:8877/887a89ba3cebe1d/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Oct 5, 2020

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/fda26da9a289811/output.txt

Total script time: 2.28 mins

  • Lint: Passed

@pdfjsbot
Copy link

pdfjsbot commented Oct 5, 2020

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/887a89ba3cebe1d/output.txt

Total script time: 2.92 mins

  • Lint: Passed

@timvandermeij timvandermeij merged commit 10e7623 into mozilla:master Oct 5, 2020
@timvandermeij
Copy link
Contributor

Thanks!

@Snuffleupagus Snuffleupagus deleted the eslint-no-debugger-alert branch October 6, 2020 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants