chore: add max-params eslint rule

This commit is contained in:
Simon Chan 2024-06-23 05:31:04 +08:00
parent 3c2b57cfc5
commit 73a0af4613
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
17 changed files with 79 additions and 54 deletions

View file

@ -14,22 +14,22 @@ import { ConcatStringStream, TextDecoderStream } from "@yume-chan/stream-extra";
export class Cmd extends AdbCommandBase {
#supportsShellV2: boolean;
get supportsShellV2() {
get supportsShellV2(): boolean {
return this.#supportsShellV2;
}
#supportsCmd: boolean;
get supportsCmd() {
get supportsCmd(): boolean {
return this.#supportsCmd;
}
#supportsAbb: boolean;
get supportsAbb() {
get supportsAbb(): boolean {
return this.#supportsAbb;
}
#supportsAbbExec: boolean;
get supportsAbbExec() {
get supportsAbbExec(): boolean {
return this.#supportsAbbExec;
}