Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/apps/dashboard/client/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ export default tseslint.config(
},
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'react/prop-types': 'off',
'react/display-name': 'off',
'react/react-in-jsx-scope': 'off',
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/dashboard/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"zustand": "^5.0.10"
},
"devDependencies": {
"@eslint/js": "^9.27.0",
"@eslint/js": "^10.0.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^7.2.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/apps/dashboard/server/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ export default tseslint.config(
jest: jestPlugin,
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
Expand Down
2 changes: 2 additions & 0 deletions packages/apps/faucet/client/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export default tseslint.config(
},
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
Expand Down
2 changes: 2 additions & 0 deletions packages/apps/faucet/server/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ export default tseslint.config(
},
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'no-console': 'warn',
'prettier/prettier': 'error',
'@/quotes': [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ const config = tseslint.config(
'react-refresh': reactRefreshPlugin,
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
'react-refresh/only-export-components': [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ const config = tseslint.config(
jest: jestPlugin,
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
Expand Down
2 changes: 2 additions & 0 deletions packages/apps/fortune/recording-oracle/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export default tseslint.config(
jest: jestPlugin,
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'no-console': 'warn',
'prettier/prettier': 'error',
'@typescript-eslint/explicit-module-boundary-types': 'off',
Expand Down
2 changes: 2 additions & 0 deletions packages/apps/human-app/frontend/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ export default tseslint.config(
import: eslintPluginImport,
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
Expand Down
2 changes: 2 additions & 0 deletions packages/apps/human-app/server/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ const config = tseslint.config(
jest: jestPlugin,
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'no-console': 'warn',
'prettier/prettier': 'error',
'@typescript-eslint/explicit-module-boundary-types': 'off',
Expand Down
2 changes: 2 additions & 0 deletions packages/apps/job-launcher/client/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export default tseslint.config(
import: eslintPluginImport,
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
Expand Down
2 changes: 2 additions & 0 deletions packages/apps/job-launcher/server/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ const config = tseslint.config(
jest: jestPlugin,
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
Expand Down
2 changes: 2 additions & 0 deletions packages/apps/reputation-oracle/server/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export default tseslint.config(
'import': importPlugin,
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/no-floating-promises': 'warn',
'@typescript-eslint/no-unsafe-argument': 'warn',
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/reputation-oracle/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"@eslint/js": "^9.33.0",
"@eslint/js": "^10.0.1",
"@faker-js/faker": "^9.8.0",
"@golevelup/ts-jest": "^0.6.1",
"@nestjs/cli": "^11.0.16",
Expand Down
2 changes: 2 additions & 0 deletions packages/apps/staking/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export default tseslint.config(
'react-refresh': reactRefreshPlugin,
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
'react-refresh/only-export-components': [
Expand Down
2 changes: 2 additions & 0 deletions packages/core/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export default tseslint.config(
},
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'no-console': 'warn',
'prefer-const': 'warn',
'no-extra-semi': 'off',
Expand Down
2 changes: 2 additions & 0 deletions packages/examples/gcv/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ const config = tseslint.config(
jest: jestPlugin,
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
Expand Down
2 changes: 2 additions & 0 deletions packages/libs/logger/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export default tseslint.config(
},
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/no-floating-promises': 'warn',
'@typescript-eslint/no-unsafe-argument': 'warn',
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"pino-pretty": "^13.1.3"
},
"devDependencies": {
"@eslint/js": "^9.30.1",
"@eslint/js": "^10.0.1",
"@types/node": "^22.10.5",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.5",
Expand Down
2 changes: 2 additions & 0 deletions packages/sdk/typescript/human-protocol-sdk/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ export default tseslint.config(
jest: jestPlugin,
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'no-console': 'warn',
'@/quotes': [
'error',
Expand Down
2 changes: 2 additions & 0 deletions packages/sdk/typescript/subgraph/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export default tseslint.config(
},
},
rules: {
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
'no-console': 'warn',
'@/quotes': [
'error',
Expand Down
19 changes: 12 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ __metadata:
dependencies:
"@emotion/react": "npm:^11.11.4"
"@emotion/styled": "npm:^11.11.5"
"@eslint/js": "npm:^9.27.0"
"@eslint/js": "npm:^10.0.1"
"@human-protocol/sdk": "workspace:*"
"@mui/icons-material": "npm:^7.2.0"
"@mui/material": "npm:^7.2.0"
Expand Down Expand Up @@ -680,7 +680,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@apps/reputation-oracle@workspace:packages/apps/reputation-oracle/server"
dependencies:
"@eslint/js": "npm:^9.33.0"
"@eslint/js": "npm:^10.0.1"
"@faker-js/faker": "npm:^9.8.0"
"@golevelup/ts-jest": "npm:^0.6.1"
"@human-protocol/core": "workspace:*"
Expand Down Expand Up @@ -3808,10 +3808,15 @@ __metadata:
languageName: node
linkType: hard

"@eslint/js@npm:^9.27.0, @eslint/js@npm:^9.30.1, @eslint/js@npm:^9.33.0":
version: 9.39.0
resolution: "@eslint/js@npm:9.39.0"
checksum: 10c0/f0ac65784932f1a5d3b9c0db12eb1ff9dcb480dbd03da1045e5da820bd97a35875fb7790f1fbe652763270b1327b770c79a9ba0396e2ad91fbd97822493e67eb
"@eslint/js@npm:^10.0.1":
version: 10.0.1
resolution: "@eslint/js@npm:10.0.1"
peerDependencies:
eslint: ^10.0.0
peerDependenciesMeta:
eslint:
optional: true
checksum: 10c0/9f3fcaf71ba7fdf65d82e8faad6ecfe97e11801cc3c362b306a88ea1ed1344ae0d35330dddb0e8ad18f010f6687a70b75491b9e01c8af57acd7987cee6b3ec6c
languageName: node
linkType: hard

Expand Down Expand Up @@ -4974,7 +4979,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@human-protocol/logger@workspace:packages/libs/logger"
dependencies:
"@eslint/js": "npm:^9.30.1"
"@eslint/js": "npm:^10.0.1"
"@types/node": "npm:^22.10.5"
eslint: "npm:^9.39.1"
eslint-config-prettier: "npm:^10.1.5"
Expand Down
Loading