[v8.x backport] test: adjust indentation for stricter linting
ESLint 4.x has stricter linting than previous versions. We are currently using the legacy indentation rules in the test directory. This commit changes the indentation of files to comply with the stricter 4.x linting and enable stricter linting in the test directory.
PR-URL: https://github.com/nodejs/node/pull/14431 Reviewed-By: Refael Ackermann refack@gmail.com Reviewed-By: Vse Mozhet Byt vsemozhetbyt@gmail.com Reviewed-By: Trevor Norris trev.norris@gmail.com
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines