diff --git a/.eslintrc.json b/.eslintrc.json index db3c608d..241986aa 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -10,11 +10,12 @@ "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, "es6": true, "jest/globals": true } -} \ No newline at end of file +} diff --git a/packages/core/src/command.ts b/packages/core/src/command.ts index a3d241b6..41724d37 100644 --- a/packages/core/src/command.ts +++ b/packages/core/src/command.ts @@ -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) {