Skip to content

Commit

Permalink
chore: turn on strict mode for workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed Jan 31, 2021
1 parent 5eeb2e8 commit 0ae6844
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 18 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx"],
"rules": {
"@typescript-eslint/no-explicit-any": 0
},
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
1 change: 0 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ module.exports = {
'<rootDir>/packages/pojos',
'<rootDir>/packages/nestjs',
'<rootDir>/packages/nestjs-integration-test',
'<rootDir>/packages/test-util',
],
};
3 changes: 1 addition & 2 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"integration-test": { "tags": ["type:test"] },
"pojos": { "tags": ["type:plugin"] },
"nestjs": { "tags": ["type:integration"] },
"nestjs-integration-test": { "tags": ["type:test"] },
"test-util": { "tags": ["type:util"] }
"nestjs-integration-test": { "tags": ["type:test"] }
},
"workspaceLayout": { "appsDir": "packages", "libsDir": "packages" }
}
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"baseUrl": ".",
"strict": true,
"paths": {
"@automapper/core": ["packages/core/src/index.ts"],
"@automapper/classes": ["packages/classes/src/index.ts"],
Expand All @@ -23,8 +24,7 @@
"packages/integration-test/src/index.ts"
],
"@automapper/pojos": ["packages/pojos/src/index.ts"],
"@automapper/nestjs": ["packages/nestjs/src/index.ts"],
"@automapper/test-util": ["packages/test-util/src/index.ts"]
"@automapper/nestjs": ["packages/nestjs/src/index.ts"]
}
},
"exclude": ["node_modules", "tmp"]
Expand Down
13 changes: 0 additions & 13 deletions workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -274,19 +274,6 @@
}
}
}
},
"test-util": {
"root": "packages/test-util",
"sourceRoot": "packages/test-util/src",
"projectType": "library",
"architect": {
"lint": {
"builder": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["packages/test-util/**/*.ts"]
}
}
}
}
},
"cli": {
Expand Down

0 comments on commit 0ae6844

Please sign in to comment.