Skip to content

Commit

Permalink
test(plugin-eslint): fix nx project graph for mocked monorepo
Browse files Browse the repository at this point in the history
Signed-off-by: Vojtech Masek <[email protected]>
  • Loading branch information
vmasek committed Sep 5, 2024
1 parent bf7a22d commit f30595f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.nx/cache
.nx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
"name": "cli",
"sourceRoot": "packages/cli/src",
"projectType": "application",
"implicitDependencies": ["core"],
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"packages/cli/**/*.ts",
"packages/cli/package.json"
]
"lintFilePatterns": ["packages/cli/**/*.ts"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
"name": "core",
"sourceRoot": "packages/core/src",
"projectType": "library",
"implicitDependencies": ["utils"],
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"packages/core/**/*.ts",
"packages/core/package.json"
]
"lintFilePatterns": ["packages/core/**/*.ts"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@
"name": "nx-plugin",
"sourceRoot": "packages/nx-plugin/src",
"projectType": "library",
"implicitDependencies": ["utils"],
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"packages/nx-plugin/**/*.ts",
"packages/nx-plugin/package.json",
"packages/nx-plugin/generators.json"
]
"lintFilePatterns": ["packages/nx-plugin/**/*.ts"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"packages/utils/**/*.ts",
"packages/utils/package.json"
]
"lintFilePatterns": ["packages/utils/**/*.ts"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "es2015",
"target": "ES2022",
"module": "esnext",
"lib": ["es2020", "dom"],
"lib": ["ES2022", "dom"],
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"baseUrl": ".",
Expand Down

0 comments on commit f30595f

Please sign in to comment.