File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,28 +14,28 @@ abstract class Linter {
14
14
/**
15
15
* Linter name
16
16
*/
17
- public name : string ,
17
+ public readonly name : string ,
18
18
/**
19
19
* Regular expression to match compiler messages
20
20
*/
21
- public regex : RegExp ,
21
+ public readonly regex : RegExp ,
22
22
/**
23
23
* Keywords used to identify message severity
24
24
*/
25
- public severity : LinterSeverityKeywords ,
25
+ public readonly severity : LinterSeverityKeywords ,
26
26
/**
27
27
* Mandatory linter arguments. These are always present
28
28
*/
29
- public args : string [ ] ,
29
+ public readonly args : string [ ] ,
30
30
/**
31
31
* Command line arguments to pass to the linter, these get overwritten in
32
32
* case the user has set arguments in the settings
33
33
*/
34
- public argsDefault ?: string [ ] ,
34
+ public readonly argsDefault ?: string [ ] ,
35
35
/**
36
36
* Compiler flag used to change the directory output for modules
37
37
*/
38
- public modFlag ?: string
38
+ public readonly modFlag ?: string
39
39
) { }
40
40
41
41
public getSeverityLevel ( msg_type : string ) : vscode . DiagnosticSeverity {
You can’t perform that action at this time.
0 commit comments