From 832fa9b9471f6a67760e191f74f8ed873b518dde Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Mon, 4 Sep 2023 15:47:10 -0300 Subject: [PATCH] fixed some linting issues --- .eslintignore | 1 + src/test/config.yml | 2 +- src/test/index.test.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintignore b/.eslintignore index a21f178..010ce4d 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,4 @@ node_modules dist .git +src/test/**/*.yml diff --git a/src/test/config.yml b/src/test/config.yml index d539bde..73ed6ee 100644 --- a/src/test/config.yml +++ b/src/test/config.yml @@ -41,7 +41,7 @@ rules: # cumulus - name: Runtime files cumulus countAuthor: true - condition: + condition: include: - ^cumulus/parachains/runtimes/assets/(asset-hub-kusama|asset-hub-polkadot)/src/[^/]+\.rs$ - ^cumulus/parachains/runtimes/bridge-hubs/(bridge-hub-kusama|bridge-hub-polkadot)/src/[^/]+\.rs$ diff --git a/src/test/index.test.ts b/src/test/index.test.ts index 4c4ce17..92afbf3 100644 --- a/src/test/index.test.ts +++ b/src/test/index.test.ts @@ -75,7 +75,7 @@ describe("Integration testing", () => { }); // @ts-ignore because the official type and the library type do not match - client.rest.pulls.listReviews.mockResolvedValue({data}); + client.rest.pulls.listReviews.mockResolvedValue({ data }); }; const summaryTestFile = "./summary-test.html";