Skip to content

Commit

Permalink
fix(nest): add default linter for new nest projects (#3469)
Browse files Browse the repository at this point in the history
* fix(nest): add default linter for new nest projects

Closes: #3063
  • Loading branch information
Przemyslaw Figura authored Aug 6, 2020
1 parent 5fd392f commit 8136b7a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/workspace/src/schematics/shared-new/shared-new.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,10 @@ function setDefaultLinter(linter: string) {
json.schematics['@nrwl/nx-plugin'] = {
plugin: { linter },
};
json.schematics['@nrwl/nest'] = { application: { linter } };
json.schematics['@nrwl/nest'] = {
application: { linter },
library: { linter },
};
json.schematics['@nrwl/express'] = {
application: { linter },
library: { linter },
Expand Down

0 comments on commit 8136b7a

Please sign in to comment.