fix(core): set default linter for schematics in newly created workspaces (#2364)
a default linter is added to the following: `@nrwl/node:library` and `@nrwl/nx-plugin:plugin`
This commit is contained in:
parent
26d251acb7
commit
ff45b7ee44
@ -240,7 +240,13 @@ function setDefaultLinter(linter: string) {
|
|||||||
application: { linter }
|
application: { linter }
|
||||||
};
|
};
|
||||||
json.schematics['@nrwl/web'] = { application: { linter } };
|
json.schematics['@nrwl/web'] = { application: { linter } };
|
||||||
json.schematics['@nrwl/node'] = { application: { linter } };
|
json.schematics['@nrwl/node'] = {
|
||||||
|
application: { linter },
|
||||||
|
library: { linter }
|
||||||
|
};
|
||||||
|
json.schematics['@nrwl/nx-plugin'] = {
|
||||||
|
plugin: { linter }
|
||||||
|
};
|
||||||
json.schematics['@nrwl/nest'] = { application: { linter } };
|
json.schematics['@nrwl/nest'] = { application: { linter } };
|
||||||
json.schematics['@nrwl/express'] = { application: { linter } };
|
json.schematics['@nrwl/express'] = { application: { linter } };
|
||||||
return json;
|
return json;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user