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 {
1414 /**
1515 * Linter name
1616 */
17- public name : string ,
17+ public readonly name : string ,
1818 /**
1919 * Regular expression to match compiler messages
2020 */
21- public regex : RegExp ,
21+ public readonly regex : RegExp ,
2222 /**
2323 * Keywords used to identify message severity
2424 */
25- public severity : LinterSeverityKeywords ,
25+ public readonly severity : LinterSeverityKeywords ,
2626 /**
2727 * Mandatory linter arguments. These are always present
2828 */
29- public args : string [ ] ,
29+ public readonly args : string [ ] ,
3030 /**
3131 * Command line arguments to pass to the linter, these get overwritten in
3232 * case the user has set arguments in the settings
3333 */
34- public argsDefault ?: string [ ] ,
34+ public readonly argsDefault ?: string [ ] ,
3535 /**
3636 * Compiler flag used to change the directory output for modules
3737 */
38- public modFlag ?: string
38+ public readonly modFlag ?: string
3939 ) { }
4040
4141 public getSeverityLevel ( msg_type : string ) : vscode . DiagnosticSeverity {
You can’t perform that action at this time.
0 commit comments