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

[v8.x backport] tools: enable stricter linting in lib directory #14520

Closed
wants to merge 2 commits into from

Commits on Jul 27, 2017

  1. lib: adjust indentation for impending lint change

    ESLint 4.x provides stricter indentation linting than previous versions.
    In preparation for enabling the stricter indentation linting, adjust the
    indentation of four lines in lib/net.js and lib/repl.js.
    
    PR-URL: nodejs#14403
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Trott committed Jul 27, 2017
    Configuration menu
    Copy the full SHA
    5b05f07 View commit details
    Browse the repository at this point in the history
  2. tools: enable stricter linting in lib directory

    Enable ESLint 4.x linting and disable legacy linting in the lib
    directory.
    
    While doing this, some indentation in the .eslintrc.yaml file itself was
    noticed to be incorrect. Fixed that too.
    
    PR-URL: nodejs#14403
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Trott committed Jul 27, 2017
    Configuration menu
    Copy the full SHA
    de37588 View commit details
    Browse the repository at this point in the history