Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Sep 23, 2024
1 parent e6e0549 commit a0c3ed6
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 51 deletions.
4 changes: 2 additions & 2 deletions packages/ensjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
97 changes: 48 additions & 49 deletions packages/react/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -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"]
}

"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"]
}

0 comments on commit a0c3ed6

Please sign in to comment.