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 ESLint rules that no longer need to be disabled on a directory/file-basis #12890

Merged

Commits on Jan 22, 2021

  1. Enable ESLint rules that no longer need to be disabled on a directory…

    …/file-basis
    
    Given that browsers/environments without native support for both arrow functions and object shorthand properties are no longer supported in PDF.js, please refer to the compatibility information below, we can now enable a fair number of ESLint rules and also simplify/remove some `.eslintrc` files.
    
    With the exception of the `no-alert` cases, all code changes were made automatically by using `gulp lint --fix`.
    
     - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions#browser_compatibility
     - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer#browser_compatibility
    Snuffleupagus committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    4db7330 View commit details
    Browse the repository at this point in the history