Skip to content

Evaluate the project, projectService, and root workspace configuration requirement for Angular #176

@TrevorKarjanis

Description

@TrevorKarjanis

Describe the issue
Originally #173

I want to do a further evaluation of the necessity for the project configuration and the effect of only using the root tsconfig.json. I expect this mostly includes the configurations not accounted for in the other TS configuration files, e.g. the application, test specs, and library files.

We'll need to upstream identified issues and recommendations to angular/eslint, likely in the form of a bug report. There is some existing commentary about the projectService configuration (issues angular-eslint/angular-eslint#1872 (comment) and angular-eslint/angular-eslint#609 (comment)).

Additionally, Ravi informed me that a root workspace configuration is required even if the workspace is made up only of projects. This should be evaluated as well.

At least the following can be completed and information can be documented in this bug report.

  1. Generate a new workspace with the latest version of Angular.
    • This workspace will have one root project.
  2. Install and run the schematic for angular-eslint.
  3. Document any notable characteristics of the default generated configuration.
  4. Apply the rest of this style guide as documented in the README.
  5. Document notable effects of using the projectService configuration with a root and child projects.
    • Consider evaluating the tool source to develop expectations for the identification of tsconfig files with projectService.
    • Which TS configurations are used for the root project?
    • Which TS configurations are used for the child projects?
    • Are the TS configurations for tests used?
  6. Document notable effects of using the project configuration.
  7. Attempt to configure the workspace without a root configuration and the document the results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-proposalNeeds investigation and a proposal to implement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions