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

Bug 1428051 - Remove unused Angular DI parameters #3101

Merged
merged 1 commit into from
Jan 7, 2018

Commits on Jan 4, 2018

  1. Bug 1428051 - Remove unused Angular DI parameters

    Found by adjusting the eslint `no-unused-vars` rule, changing the
    `args` preference from `after-used` to `all`:
    https://eslint.org/docs/rules/no-unused-vars.html#options
    
    That rule is too noisy to enable by default. Ideally we could use the
    AngularJS eslint plugin/config (which has specific rules for this),
    but it's not compatible with latest eslint:
    EmmanuelDemey/eslint-plugin-angular#490
    
    Unless these DI parameters can have side-effects I'm not aware of,
    this change should be reasonably safe, since eslint's `no-undef` rule
    will error if anything was removed that was being directly referenced.
    edmorley committed Jan 4, 2018
    Configuration menu
    Copy the full SHA
    cfd8d57 View commit details
    Browse the repository at this point in the history