{
  "schemaVersion": "ebb.rule.v1",
  "id": "npm.package.tslint.deprecated",
  "ecosystem": "npm",
  "purl": "pkg:npm/tslint",
  "affectedVersions": "vers:npm/6.0.0|6.1.0|6.1.1|6.1.2|6.1.3",
  "event": "deprecated",
  "severity": "medium",
  "title": "tslint is deprecated",
  "summary": "npm marks tslint as deprecated: \"TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.\"",
  "replacement": "ESLint with typescript-eslint",
  "sources": [
    {
      "title": "tslint on npm",
      "url": "https://www.npmjs.com/package/tslint",
      "accessedAt": "2026-10-17"
    },
    {
      "title": "tslint version metadata",
      "url": "https://registry.npmjs.org/tslint",
      "accessedAt": "2026-10-17"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-17",
    "reviewedAt": "2026-10-17",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Preserve the enforced rule set and any custom rules; map each TSLint rule to its typescript-eslint or ESLint equivalent."
    ],
    "steps": [
      {
        "id": "replace-tslint",
        "title": "Replace TSLint with ESLint",
        "instructions": "Replace tslint with eslint and typescript-eslint in dependencies and scripts, and port the rules from tslint.json to the ESLint configuration.",
        "targets": "all"
      },
      {
        "id": "port-custom-rules",
        "title": "Port custom rules and disables",
        "instructions": "Convert `tslint:disable` comments and any custom TSLint rules to their ESLint equivalents.",
        "targets": "usages"
      }
    ],
    "verification": [
      {
        "command": "npm run lint --if-present",
        "purpose": "Run the new linter on the project and compare the findings."
      }
    ]
  }
}
