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

tools: enable block-spacing in .eslintrc #10377

Closed
wants to merge 2 commits into from

Commits on Dec 21, 2016

  1. test: use consistent block spacing

    In preparation for enabling an ESLint rule, use consistent block
    spacing. This changes only six files in the code base as block spacing
    is consistent throughout the rest of the code base.
    
    Before:  function(c) {data += c;}
    
    After: function(c) { data += c; }
    Trott committed Dec 21, 2016
    Configuration menu
    Copy the full SHA
    58c1f9b View commit details
    Browse the repository at this point in the history
  2. tools: enable block-spacing rule in .eslintrc

    Enable rule to enforce consistent use of space between the `{` and `}`
    that surround a code block and the code block itself. This enforces via
    linting the de facto standard in the code base.
    Trott committed Dec 21, 2016
    Configuration menu
    Copy the full SHA
    773e7d7 View commit details
    Browse the repository at this point in the history