From 491f838511a8c7b848fb0affcc3661ee45edbdc5 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 17 Jun 2017 22:35:39 -0700 Subject: [PATCH] tools: fix indentation in required-modules.js In preparation for applying the more strict indentation linting available in ESLint 4.0.0, correct minor indentation issues in tools/eslint-rules/required-modules.js. This is the only file with indentation that does not conform to the stricter checks. PR-URL: https://github.com/nodejs/node/pull/13758 Reviewed-By: Teddy Katz Reviewed-By: Vse Mozhet Byt Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Michael Dawson --- tools/eslint-rules/required-modules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/eslint-rules/required-modules.js b/tools/eslint-rules/required-modules.js index 3e4a8e8aadfc82..7691d5dd7d91a0 100644 --- a/tools/eslint-rules/required-modules.js +++ b/tools/eslint-rules/required-modules.js @@ -77,13 +77,13 @@ module.exports = function(context) { function(module) { return foundModules.indexOf(module === -1); } - ); + ); missingModules.forEach(function(moduleName) { context.report( node, 'Mandatory module "{{moduleName}}" must be loaded.', { moduleName: moduleName } - ); + ); }); } }