Skip to content

Commit 32d3514

Browse files
authored
Fix "undefined var exts when eslint-local-rules.js not found"
Fixes #14
1 parent 8680d86 commit 32d3514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (!rules) {
1010
throw new Error(
1111
'eslint-plugin-local-rules: ' +
1212
'Cannot find "eslint-local-rules{' +
13-
['.js'].concat(exts.filter(Boolean)) +
13+
['.js'].concat(DEFAULT_EXTENSIONS.filter(Boolean)) +
1414
'} ' +
1515
'or eslint-local-rules/index.js (checked all ancestors of "' +
1616
__dirname +

0 commit comments

Comments
 (0)