Skip to content

Commit 8fec59d

Browse files
author
ABaldwinHunter
committed
update engine config to allow users to add elements to under key extensions
1 parent 14e026e commit 8fec59d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/eslint

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ if (process.env.ENGINE_CONFIG) {
3737
if (engineConfig['exclude_paths']) {
3838
ignores = engineConfig['exclude_paths'];
3939
}
40+
if (engineConfig['extensions']) {
41+
options['extensions'] = engineConfig['extensions'];
42+
}
4043
}
4144
var cli = new CLIEngine(options);
4245
var report = cli.executeOnFiles(["/code"]);

0 commit comments

Comments
 (0)