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 --report-unused-disable-directives ESLint command line option #9029

Merged
merged 1 commit into from
Oct 15, 2017
Merged

Enable the --report-unused-disable-directives ESLint command line option #9029

merged 1 commit into from
Oct 15, 2017

Conversation

Snuffleupagus
Copy link
Collaborator

This option was added in version 4.8.0 of ESLint, which is already listed as the minimum version in our package.json file; please refer to https://eslint.org/docs/user-guide/command-line-interface#--report-unused-disable-directives for additional details.

Despite the caveat listed in the link above, I still think that using this option makes sense since it will help ensure that no longer necessary disable statements are removed.

…ption

This option was added in [version `4.8.0` of ESLint](https://github.com/eslint/eslint/releases/tag/v4.8.0), which is already listed as the minimum version in our `package.json` file; please refer to https://eslint.org/docs/user-guide/command-line-interface#--report-unused-disable-directives for additional details.

Despite the caveat listed in the link above, I still think that using this option makes sense since it will help ensure that no longer necessary disable statements are removed.
@Snuffleupagus
Copy link
Collaborator Author

/botio lint

@pdfjsbot
Copy link

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/83758e35f89d554/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://54.215.176.217:8877/e60865f7b36acbb/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/83758e35f89d554/output.txt

Total script time: 1.35 mins

  • Lint: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/e60865f7b36acbb/output.txt

Total script time: 4.11 mins

  • Lint: Passed

@timvandermeij timvandermeij merged commit 815bc53 into mozilla:master Oct 15, 2017
@timvandermeij
Copy link
Contributor

Good idea. Thanks!

@Snuffleupagus Snuffleupagus deleted the eslint--report-unused-disable-directives branch October 15, 2017 14:59
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
…sed-disable-directives

Enable the `--report-unused-disable-directives` ESLint command line option
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