From a0c3ed6018519d7c52df8c1b9488aa44c9eff6ed Mon Sep 17 00:00:00 2001 From: Luc Date: Mon, 23 Sep 2024 07:05:02 +0000 Subject: [PATCH] Fix --- packages/ensjs/package.json | 4 +- packages/react/.eslintrc.json | 97 +++++++++++++++++------------------ 2 files changed, 50 insertions(+), 51 deletions(-) diff --git a/packages/ensjs/package.json b/packages/ensjs/package.json index 3941a5fb..424c066e 100644 --- a/packages/ensjs/package.json +++ b/packages/ensjs/package.json @@ -137,12 +137,12 @@ "typedoc": "^0.24.8", "typedoc-plugin-markdown": "^4.0.0-next.16", "typescript": "5.3.2", - "viem": "2.9.2", + "viem": "^2.9.2", "vitest": "^1.3.1", "wait-on": "^6.0.1" }, "peerDependencies": { - "viem": "2.9.2", + "viem": "^2.9.2", "@tanstack/react-query": "^5.54", "wagmi": "2" }, diff --git a/packages/react/.eslintrc.json b/packages/react/.eslintrc.json index 500f9bfb..28e17e91 100644 --- a/packages/react/.eslintrc.json +++ b/packages/react/.eslintrc.json @@ -1,50 +1,49 @@ { - "parserOptions": { - "project": "./tsconfig.json" - }, - "rules": { - "no-restricted-syntax": ["off"], - "consistent-return": ["off"], - "import/no-named-as-default": ["off"], - "func-names": ["off"], - "no-param-reassign": ["off"], - "no-underscore-dangle": ["off"], - "@typescript-eslint/naming-convention": [ - "error", - { - "selector": "default", - "format": ["camelCase"], - "leadingUnderscore": "allowSingleOrDouble", - "trailingUnderscore": "allowSingleOrDouble" - }, - { - "selector": "memberLike", - "format": ["camelCase", "UPPER_CASE", "PascalCase"], - "leadingUnderscore": "allowSingleOrDouble", - "trailingUnderscore": "allowSingleOrDouble" - }, - { - "selector": "objectLiteralProperty", - "filter": { "regex": "\\d+", "match": true }, - "format": null - }, - { - "selector": "variable", - "format": ["camelCase", "UPPER_CASE"], - "leadingUnderscore": "allowSingleOrDouble", - "trailingUnderscore": "allowSingleOrDouble" - }, - { - "selector": "typeLike", - "format": ["PascalCase"] - } - ], - "no-useless-return": ["off"], - "radix": ["error", "as-needed"], - "no-bitwise": ["off"], - "import/no-extraneous-dependencies": ["off"], - "no-empty": ["error", { "allowEmptyCatch": true }] - }, - "ignorePatterns": ["node_modules", "dist", "data", "cache", "esbuild.js"] - } - \ No newline at end of file + "parserOptions": { + "project": "./tsconfig.json" + }, + "rules": { + "no-restricted-syntax": ["off"], + "consistent-return": ["off"], + "import/no-named-as-default": ["off"], + "func-names": ["off"], + "no-param-reassign": ["off"], + "no-underscore-dangle": ["off"], + "@typescript-eslint/naming-convention": [ + "error", + { + "selector": "default", + "format": ["camelCase"], + "leadingUnderscore": "allowSingleOrDouble", + "trailingUnderscore": "allowSingleOrDouble" + }, + { + "selector": "memberLike", + "format": ["camelCase", "UPPER_CASE", "PascalCase"], + "leadingUnderscore": "allowSingleOrDouble", + "trailingUnderscore": "allowSingleOrDouble" + }, + { + "selector": "objectLiteralProperty", + "filter": { "regex": "\\d+", "match": true }, + "format": null + }, + { + "selector": "variable", + "format": ["camelCase", "UPPER_CASE"], + "leadingUnderscore": "allowSingleOrDouble", + "trailingUnderscore": "allowSingleOrDouble" + }, + { + "selector": "typeLike", + "format": ["PascalCase"] + } + ], + "no-useless-return": ["off"], + "radix": ["error", "as-needed"], + "no-bitwise": ["off"], + "import/no-extraneous-dependencies": ["off"], + "no-empty": ["error", { "allowEmptyCatch": true }] + }, + "ignorePatterns": ["node_modules", "dist", "data", "cache", "esbuild.js"] +}