Eslint 4.1.0
First commit:
tools: update to ESLint 4.1.0
Update ESLint to 4.1.0. This fixes a bug that previously prevented us
from using the new and stricter indentation checking.
Refs: https://github.com/eslint/eslint/issues/8721
Second commit:
tools: add script to update ESLint
Provide a bash script for updating ESLint in the project.
Third commit:
tools,benchmark: use stricter indentation linting
Enable stricter indentation rules for benchmark code.
Fourth commit:
tools: disable legacy indentation linting in tools
The tools directory has newer and stricter indentation enabled, but the
legacy indentation rules were not disabled. This could potentitally
result in a conflict between the two rule sets. Disable legacy linting.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
tools benchmark