Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 44c2bdd

Browse files
committed
expose exclude config
1 parent 2434d91 commit 44c2bdd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/plugin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ export class TSLintPlugin {
126126
configFile: config.configFile,
127127
ignoreDefinitionFiles: config.ignoreDefinitionFiles,
128128
jsEnable: config.jsEnable,
129+
exclude: config.exclude,
129130
});
130131
if (result.configFilePath) {
131132
this.configFileWatcher.ensureWatching(result.configFilePath);

src/settings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export interface Configuration {
1212
readonly configFile?: string;
1313
readonly suppressWhileTypeErrorsPresent?: boolean;
1414
readonly jsEnable?: boolean;
15+
readonly exclude?: string | string[];
1516
}
1617

1718
export class ConfigurationManager {

0 commit comments

Comments
 (0)