Angular Modernizer
    Preparing search index...

    Framework detection rule (analyzer:framework-detector).

    Detects the workspace type from configuration files in the project root (the directory of the tsconfig, otherwise the directory of the analyzed file):

    • nx.json exists: framework is Nx
    • angular.json exists: framework is Angular CLI
    • neither exists: framework is Unknown

    Reports one info result with framework, hasNxConfig, hasAngularConfig and projectRoot in its metadata.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    category: "project-analysis" = 'project-analysis'

    Rule category for grouping.

    description: "Detects whether the project uses Angular CLI or Nx" = 'Detects whether the project uses Angular CLI or Nx'

    Rule description explaining what it checks.

    id: "analyzer:framework-detector" = 'analyzer:framework-detector'

    Unique rule identifier (scoped to plugin). Format: "plugin-name:rule-name" (e.g., "angular-standalone:component-not-standalone")

    name: "Framework Detector" = 'Framework Detector'

    Human-readable rule name.

    severity: "info" = ...

    Rule severity level.

    tags: string[] = ...

    Tags for filtering and search.

    Methods