Skip to content

Commit

Permalink
chore: apply stricter eslint rules & fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrsoares committed Sep 25, 2023
1 parent df6c3cb commit 2bab760
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 8 deletions.
6 changes: 1 addition & 5 deletions packages/evm/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"extends": "../config/eslintrc.strictest.json",
"parserOptions": {
"project": "./tsconfig.json",
"tsconfigRootDir": "."
}
"extends": "../../.eslintrc.js"
}
1 change: 1 addition & 0 deletions packages/evm/scripts/codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ async function main() {
const constantName = kebabToConstantCase(folder);

const GENERATED_DISCLAIMER = `
/* eslint-disable @typescript-eslint/no-explicit-any */
/**
* This file was generated by scripts/codegen.cjs
*
Expand Down
3 changes: 2 additions & 1 deletion packages/evm/src/contracts/interchain-token-service/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
/**
* This file was generated by scripts/codegen.cjs
*
Expand All @@ -7,7 +8,7 @@
* DO NOT EDIT MANUALLY
*/

import type { Chain } from "viem";
import { Chain } from "viem";

import { PublicContractClient } from "../PublicContractClient";
import ABI_FILE from "./interchain-token-service.abi";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
/**
* This file was generated by scripts/codegen.cjs
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
/**
* This file was generated by scripts/codegen.cjs
*
Expand Down
3 changes: 2 additions & 1 deletion packages/evm/src/contracts/interchain-token/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
/**
* This file was generated by scripts/codegen.cjs
*
Expand All @@ -7,7 +8,7 @@
* DO NOT EDIT MANUALLY
*/

import type { Chain } from "viem";
import { Chain } from "viem";

import { PublicContractClient } from "../PublicContractClient";
import ABI_FILE from "./interchain-token.abi";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
/**
* This file was generated by scripts/codegen.cjs
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
/**
* This file was generated by scripts/codegen.cjs
*
Expand Down
3 changes: 2 additions & 1 deletion packages/evm/src/contracts/token-manager/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
/**
* This file was generated by scripts/codegen.cjs
*
Expand All @@ -7,7 +8,7 @@
* DO NOT EDIT MANUALLY
*/

import type { Chain } from "viem";
import { Chain } from "viem";

import { PublicContractClient } from "../PublicContractClient";
import ABI_FILE from "./token-manager.abi";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
/**
* This file was generated by scripts/codegen.cjs
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
/**
* This file was generated by scripts/codegen.cjs
*
Expand Down

0 comments on commit 2bab760

Please sign in to comment.