diff --git a/eslint.config.mjs b/eslint.config.mjs
index 7d570005..54c8e85f 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -56,12 +56,18 @@ export default [
},
rules: {
+ 'camelcase': ['error'],
+ 'guard-for-in': ['error'],
+ 'import/no-cycle': ['error'],
+ 'import/no-self-import': ['error'],
'no-console': ['warn'],
'no-eval': ['error'],
'no-ex-assign': ['error'],
'no-extra-boolean-cast': ['error'],
'no-constant-condition': ['off'],
- 'guard-for-in': ['error'],
+ 'no-multiple-empty-lines': ['error'],
+ 'jsx-a11y/alt-text': ['off'],
+
'@typescript-eslint/ban-ts-comment': ['off'],
'@typescript-eslint/explicit-module-boundary-types': ['off'],
'@typescript-eslint/no-explicit-any': ['off'],
@@ -77,7 +83,6 @@ export default [
},
],
- 'jsx-a11y/alt-text': ['off'],
'@next/next/no-img-element': ['off'],
},
},
diff --git a/src/components/icons/Identicon.tsx b/src/components/icons/Identicon.tsx
deleted file mode 100644
index 344b7f3c..00000000
--- a/src/components/icons/Identicon.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-import { isValidAddressEvm, normalizeAddressEvm } from '@hyperlane-xyz/utils';
-import { Circle } from '@hyperlane-xyz/widgets';
-import jazzicon from '@metamask/jazzicon';
-import { memo } from 'react';
-
-type Props = {
- address?: string;
- size?: number;
-};
-
-// This should match metamask: https://github.com/MetaMask/metamask-extension/blob/master/ui/helpers/utils/icon-factory.js#L84
-function addressToSeed(address: string) {
- const addrStub = normalizeAddressEvm(address).slice(2, 10);
- return parseInt(addrStub, 16);
-}
-
-// TODO move to widgets lib
-function _Identicon({ address, size: _size }: Props) {
- const size = _size ?? 34;
-
- // TODO better handling of non-evm addresses here
- if (!address || !isValidAddressEvm(address)) {
- return