Skip to content

Commit

Permalink
tools: change var to const in ./eslint-rules
Browse files Browse the repository at this point in the history
PR-URL: #13732
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
BridgeAR authored and addaleax committed Jul 18, 2017
1 parent d454add commit d69527f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/eslint-rules/required-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
'use strict';

var path = require('path');
const path = require('path');

//------------------------------------------------------------------------------
// Rule Definition
Expand All @@ -14,7 +14,7 @@ module.exports = function(context) {
// trim required module names
var requiredModules = context.options;

var foundModules = [];
const foundModules = [];

// if no modules are required we don't need to check the CallExpressions
if (requiredModules.length === 0) {
Expand Down

0 comments on commit d69527f

Please sign in to comment.