@angular-eslint/schematics
Version:
Angular Schematics for angular-eslint
20 lines (16 loc) • 900 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = default_1;
function default_1() {
return () => {
throw new Error('\n' +
`
Error: Using \`--collection=@angular-eslint/schematics\` is no longer supported.
In previous versions of @angular-eslint we attempted to let developers create Angular CLI workspaces and add ESLint in a single command by providing the \`--collection\` flag to \`ng new\`.
This worked for simple scenarios but it was not possible to support all the options of \`ng new\` this way and it was harder to reason about in many cases.
Instead, simply:
- Run \`ng new\` (without \`--collection\`) and create your Angular CLI workspace with whatever options you prefer.
- Change directory to your new workspace and run \`ng add @angular-eslint/schematics\` to add all relevant ESLint packages.
`.trim());
};
}