Skip to content

Commit

Permalink
fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
shamilovtim committed Aug 5, 2024
1 parent 4e064cb commit bb648f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
9 changes: 2 additions & 7 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ module.exports = [
// To exclude *.js files entirely, you need to have a separate config object altogether. (See another `ignores` below.)
ignores: ["**/*.d.ts"],
rules: {
"no-undef": "off",
"no-redeclare": "off",
"key-spacing": [
"error",
{
Expand Down Expand Up @@ -81,11 +83,4 @@ module.exports = [
{
ignores: ["**/*.js", "**/*.cjs", "**/*.mjs"],
},
{
files: ["**/*.ts"],
rules: {
"no-undef": "off",
"no-redeclare": "off",
},
},
];
4 changes: 2 additions & 2 deletions packages/agent/src/test-harness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ export class PlatformAgentTestHarness {
await this.didResolverCache.set(didUri, resolutionResult);
}

public static async setup({ agentClass, agentStores, testDataLocation }: {
public static async setup({ agentClass, agentStores, testDataLocation }: {
agentClass: new (params: any) => Web5PlatformAgent<LocalKeyManager>
agentStores?: 'dwn' | 'memory';
testDataLocation?: string;
testDataLocation?: string;
}): Promise<PlatformAgentTestHarness> {
agentStores ??= 'memory';
testDataLocation ??= '__TESTDATA__';
Expand Down

0 comments on commit bb648f9

Please sign in to comment.