Skip to content
This repository was archived by the owner on Dec 31, 2025. It is now read-only.

Please remove TSLint from devDependencies #148

@jturnley

Description

@jturnley

Title: Please remove TSLint from devDependencies

Repository: lddubeau/saxes (https://github.com/lddubeau/saxes)

Background:
We noticed that your project still lists tslint and tslint-* packages in devDependencies and contains some // tslint:disable-next-line comments in source files. TSLint has been deprecated in favor of ESLint + @typescript-eslint. Projects consuming your package may get TSLint mentions in lockfiles and audits even if they don't use TSLint themselves.

Request:

  • Please consider removing tslint and tslint-microsoft-contrib from devDependencies.
  • Replace any TSLint-based checks with ESLint + @typescript-eslint rules (or remove the linter command if not needed in CI).
  • Replace tslint inline comments (e.g., // tslint:disable-next-line:...) or explain why they must remain.

Suggested changes (example):

  • Update package.json devDependencies to drop tslint and add eslint, @typescript-eslint/parser, and @typescript-eslint/eslint-plugin.
  • Add an eslint target to CI or lint script that runs ESLint for TS files.

Why this helps:

  • Consumers of your package (including build tooling) will no longer see TSLint references in node_modules.
  • Aligns the project with current TypeScript linting best practices.

I can open a draft PR with the minimal changes (add ESLint + typescript-eslint config and remove tslint from devDeps) if you'd like—please tell me whether you'd prefer a PR or an issue first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions