Skip to content

Commit d69527f

Browse files
BridgeARaddaleax
authored andcommitted
tools: change var to const in ./eslint-rules
PR-URL: #13732 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent d454add commit d69527f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/eslint-rules/required-modules.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
'use strict';
66

7-
var path = require('path');
7+
const path = require('path');
88

99
//------------------------------------------------------------------------------
1010
// Rule Definition
@@ -14,7 +14,7 @@ module.exports = function(context) {
1414
// trim required module names
1515
var requiredModules = context.options;
1616

17-
var foundModules = [];
17+
const foundModules = [];
1818

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

0 commit comments

Comments
 (0)