summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-06-17 22:35:39 -0700
committerRich Trott <rtrott@gmail.com>2017-06-22 20:33:25 -0700
commit491f838511a8c7b848fb0affcc3661ee45edbdc5 (patch)
treebdfd39792b75d37ed6d7e531e79348b50fcfc0fb /tools
parent4885982ee270429e1d54602d6abb7ee1b174cb1b (diff)
downloadandroid-node-v8-491f838511a8c7b848fb0affcc3661ee45edbdc5.tar.gz
android-node-v8-491f838511a8c7b848fb0affcc3661ee45edbdc5.tar.bz2
android-node-v8-491f838511a8c7b848fb0affcc3661ee45edbdc5.zip
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 <teddy.katz@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/eslint-rules/required-modules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/eslint-rules/required-modules.js b/tools/eslint-rules/required-modules.js
index 3e4a8e8aad..7691d5dd7d 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 }
- );
+ );
});
}
}