Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mitch-lbw committed Dec 23, 2023
1 parent 74fde6d commit 24bfa8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"scripts": {
"dev-example": "env-cmd -f ./.env_local tsnd examples/atomicmarket.ts | npx pino-pretty --colorize",
"lint": "eslint --ignore-path .gitignore \"**/*.+(js|ts|tsx)\"",
"lint": "eslint --ignore-path .eslintignore \"**/*.+(js|ts|tsx)\"",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|json|ts|tsx)\"",
"format:check": "prettier -c .",
"typecheck": "tsc --noEmit --incremental false",
Expand Down
2 changes: 1 addition & 1 deletion src/common/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export interface ActionData {
}

export interface ActionHandlerResult {
msg: any;
msg: unknown;
error: Error | undefined;
}

Expand Down
2 changes: 1 addition & 1 deletion src/eosio/ship-reader-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ export class ShipReaderWrapper {
* @param type type of interruption event
* @param err error in for additional details
*/
private async sendEventAndEndProcess(type: string, err: any) {
private async sendEventAndEndProcess(type: string, err: unknown) {
try {
logger.warn(`Catched event ${type} with err ${err}, creating reset event for restart`);
const resetEvent: string = this.createResetEvent(
Expand Down

0 comments on commit 24bfa8f

Please sign in to comment.