Skip to content

Commit

Permalink
chore(lint): set max line to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-seongwoo-jun committed Nov 11, 2024
1 parent a44e019 commit e97026b
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export default [
ignoreEOLComments: true,
},
],
"@stylistic/no-multiple-empty-lines": ["warn", { max: 1 }],
"@stylistic/no-trailing-spaces": ["warn"],
"@stylistic/object-curly-spacing": ["warn", "always"],
"@stylistic/lines-between-class-members": [
Expand Down
1 change: 0 additions & 1 deletion src/homebridge/electric-mat.device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ export default class ElectricMat {
return thermostat;
}


private async getActive(): Promise<CharacteristicValue> {
const { Characteristic } = this.platform;
const { HAPStatus, HapStatusError } = this.platform.api.hap;
Expand Down
1 change: 0 additions & 1 deletion src/navien/navien.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ export class NavienApi {
}
}


public initializeDevice(device: Device) {
return this.controlDevice(device);
}
Expand Down
1 change: 0 additions & 1 deletion src/navien/navien.device-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { OperationMode } from '../aws/interfaces/index.js';
import { AwsPubSub } from '../aws/pubsub.js';
import { NavienDevice } from './navien.device.js';


export class NavienDeviceStatusRepository {
private _isActive: boolean | null = null;
private _temperature: number | null = null;
Expand Down
1 change: 0 additions & 1 deletion src/navien/navien.session-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export class NavienSessionManager {
return this._user;
}


/**
* Initializes the session manager by:
* 1. Loading session from storage or config.json
Expand Down

0 comments on commit e97026b

Please sign in to comment.