Skip to content

Commit 3def898

Browse files
Josh Goldbergnchen63
Josh Goldberg
authored andcommitted
Loosened runner options (palantir#1786)
1 parent 8d920c8 commit 3def898

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/runner.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ export interface IRunnerOptions {
4949
/**
5050
* Whether to return status code 0 even if there are lint errors.
5151
*/
52-
force: boolean;
52+
force?: boolean;
5353

5454
/**
5555
* Whether to fixes linting errors for select rules. This may overwrite linted files.
5656
*/
57-
fix: boolean;
57+
fix?: boolean;
5858

5959
/**
6060
* Output format.
@@ -69,7 +69,7 @@ export interface IRunnerOptions {
6969
/**
7070
* Whether to generate a tslint.json config file in the current working directory.
7171
*/
72-
init: boolean;
72+
init?: boolean;
7373

7474
/**
7575
* Output file path.
@@ -94,12 +94,12 @@ export interface IRunnerOptions {
9494
/**
9595
* Whether to enable type checking when linting a project.
9696
*/
97-
typeCheck: boolean;
97+
typeCheck?: boolean;
9898

9999
/**
100-
* Current TSLint version.
100+
* Whether to show the current TSLint version.
101101
*/
102-
version: boolean;
102+
version?: boolean;
103103
}
104104

105105
export class Runner {

0 commit comments

Comments
 (0)