mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-10 06:29:01 +08:00
Remove "public" explicit accessibility
This commit is contained in:
parent
140d6cd367
commit
8cdf51d182
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user