1
0
Fork 0

Remove "public" explicit accessibility

pull/4/head
Jonathan Clem 2019-05-21 15:23:21 -04:00
parent 140d6cd367
commit 8cdf51d182
No known key found for this signature in database
GPG Key ID: 3C201F0BBD6B3B77
2 changed files with 7 additions and 6 deletions

View File

@ -10,7 +10,8 @@
"no-unused-vars": "off",
"eslint-comments/no-use": "off",
"import/no-namespace": "off",
"@typescript-eslint/no-unused-vars": "error"
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/explicit-member-accessibility": ["error", {"accessibility": "no-public"}]
},
"env": {
"node": true,

View File

@ -42,11 +42,11 @@ class Command {
this.message = message
}
public command: string
public message: string
public properties: {[key: string]: string}
command: string
message: string
properties: {[key: string]: string}
public toString() {
toString() {
let cmdStr = CMD_PREFIX + this.command
if (this.properties && Object.keys(this.properties).length > 0) {