Skip to content

Commit

Permalink
Merge branch 'main' into docker
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdip-b authored Jan 14, 2024
2 parents 6b756e8 + b103db6 commit d4de808
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 21 deletions.
18 changes: 17 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
"extends": ["plugin:@nx/typescript"],
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-unused-expressions": "warn"
}
},
{
Expand All @@ -40,6 +42,20 @@
"jest": true
},
"rules": {}
},
{
"files": ["{package,project}.json"],
"parser": "jsonc-eslint-parser",
"rules": {
"@nx/dependency-checks": [
"warn",
{
"checkMissingDependencies": true,
"checkObsoleteDependencies": true,
"checkVersionMismatches": true
}
]
}
}
]
}
11 changes: 9 additions & 2 deletions apps/api-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"apps/api-e2e/**/*.ts",
"apps/api-e2e/package.json",
"apps/api-e2e/project.json"
]
}
}
}
}
11 changes: 9 additions & 2 deletions apps/api/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,15 @@
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"apps/api/**/*.ts",
"apps/api/package.json",
"apps/api/project.json"
]
}
},
"prettier:fix": {
"command": "pnpx prettier -w .",
Expand Down
10 changes: 0 additions & 10 deletions apps/cli/package.json

This file was deleted.

11 changes: 9 additions & 2 deletions apps/cli/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,15 @@
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"apps/cli/**/*.ts",
"apps/cli/package.json",
"apps/cli/project.json"
]
}
},
"test": {
"executor": "@nx/jest:jest",
Expand Down
11 changes: 9 additions & 2 deletions apps/web/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,15 @@
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"apps/web/**/*.ts",
"apps/web/package.json",
"apps/web/project.json"
]
}
}
},
"tags": []
Expand Down
11 changes: 9 additions & 2 deletions packages/sdk-node/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,15 @@
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"packages/sdk-node/**/*.ts",
"packages/sdk-node/package.json",
"packages/sdk-node/project.json"
]
}
},
"test": {
"executor": "@nx/jest:jest",
Expand Down

0 comments on commit d4de808

Please sign in to comment.