{
  "extends": "../../.eslintrc",
  "rules": {},
  "ignorePatterns": ["!**/*"],
  "overrides": [
    {
      "files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
      "rules": {}
    },
    {
      "files": ["*.ts", "*.tsx"],
      "rules": {}
    },
    {
      "files": ["*.js", "*.jsx"],
      "rules": {}
    },
    {
      "files": ["**/*.ts"],
      "excludedFiles": ["./src/migrations/**"],
      "rules": {
        "no-restricted-imports": ["error", "@nx/workspace"]
      }
    },
    {
      "files": [
        "./package.json",
        "./generators.json",
        "./executors.json",
        "./migrations.json"
      ],
      "parser": "jsonc-eslint-parser",
      "rules": {
        "@nx/nx-plugin-checks": "error"
      }
    },
    {
      "files": ["./package.json"],
      "parser": "jsonc-eslint-parser",
      "rules": {
        "@nx/dependency-checks": [
          "error",
          {
            "buildTargets": ["build-base"],
            "ignoredDependencies": [
              "nx",
              "eslint",
              "vite",
              "rxjs",
              "semver",
              // These are installed by ensurePackage so missing in package.json
              "@nx/cypress",
              "@nx/playwright",
              "@nx/jest",
              "@nx/rollup",
              "@nx/storybook",
              "@nx/vite",
              "@nx/webpack",
              "prettier",
              "typescript",
              // These are installed by generators
              "@angular-devkit/core",
              "@angular-devkit/architect",
              "@angular-devkit/build-angular",
              "@angular-devkit/schematics",
              "@angular/compiler",
              "@angular/compiler-cli",
              "@angular/core",
              "@angular/router",
              "@ngrx/effects",
              "@ngrx/router-store",
              "@ngrx/store",
              "@storybook/angular",
              "@module-federation/node",
              "@nguniversal/builders",
              // installed dynamically by the library generator
              "ng-packagr",
              // ng-packagr deps, some are handled if not installed
              "injection-js",
              "browserslist",
              "cacache",
              "less",
              "node-sass",
              "node-sass-tilde-importer",
              "ora",
              "convert-source-map",
              "postcss",
              "autoprefixer",
              "postcss-url",
              "sass",
              "stylus",
              "tailwindcss",
              // used in the CT angular plugin where Cy is already installed to use it.
              "cypress"
            ]
          }
        ]
      }
    }
  ]
}
