Skip to content

Commit

Permalink
chore: fix lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
nirga committed Jan 11, 2024
1 parent 4824932 commit cc27c64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@
}
]
}
],
"@typescript-eslint/no-explicit-any": "warning"
]
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"rules": {}
"rules": {
"@typescript-eslint/no-explicit-any": "warn"
}
},
{
"files": ["*.js", "*.jsx"],
Expand Down
6 changes: 2 additions & 4 deletions packages/instrumentation-openai/src/instrumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,8 @@ export class OpenAIInstrumentation extends InstrumentationBase<any> {
return original.apply(this, args);
});
},
(error) => {
// if (error) {
// }
},
// eslint-disable-next-line @typescript-eslint/no-empty-function
() => {},
);

const wrappedPromise = plugin._wrapPromise(
Expand Down

0 comments on commit cc27c64

Please sign in to comment.