Skip to content

tools: enable block-spacing in .eslintrc

Rodrigo Muino Tomonari requested to merge github/fork/Trott/block-spacing into master
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

tools test

Description of change

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.

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; }

Merge request reports

Loading