Skip to content

Generate page when having @angular-eslint/schematics installed fails #449

@jesperbjerke

Description

@jesperbjerke

Description:
After converting to eslint from tslint following this blogpost: https://ionicframework.com/blog/eslint-for-ionic-angular/
I am no longer able to run ionic generate page xxx. It seems like the "page" type is no longer available?

Steps to Reproduce:
Have @angular-eslint/schematics installed and run ionic generate page xxx

Output:

$ ionic generate page views/communication/chat/conversation
    > ng generate page views/communication/chat/conversation --project=app
    An unhandled exception occurred: Schematic "page" not found in collection "@angular-eslint/schematics".

Running npx ng g gives me the following list of available schematics:

Available Schematics:
  Collection "@angular-eslint/schematics" (default):
    app-shell
    application
    class
    component
    convert-tslint-to-eslint
    directive
    enum
    guard
    interceptor
    interface
    library
    module
    ng-add
    pipe
    resolver
    service
    service-worker
    web-worker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions