10000 Replace deprecated `dtslint` · Issue #30081 · cypress-io/cypress · GitHub
[go: up one dir, main page]

Skip to content
Replace deprecated dtslint #30081
@MikeMcC399

Description

@MikeMcC399

What would you like?

Replace the use of the deprecated npm module dtslint "A utility built on TSLint for linting TypeScript declaration (.d.ts) files."

"dtslint": "4.2.1",

Why is this needed?

The npm module dtslint is deprecated and the source repo https://github.com/Microsoft/dtslint was archived on Nov 16, 2023. dtslint@4.2.1 was the final version released.

See https://aka.ms/type-testing-tools which shows:

If you are just looking for a TypeScript type testing tool, use:

dtslint is used in Cypress CI workflows, in the job

lint-types

lint-types:
<<: *defaults
parallelism: 1
steps:
- restore_cached_workspace
- run:
command: ls -la types
working_directory: cli
- run:
command: ls -la chai
working_directory: cli/types
- run:
name: "Lint types 🧹"
command: yarn workspace cypress dtslint
- store-npm-logs

Other

Metadata

Metadata

Assignees

No one assigned

    Labels

    prevent-stalemark an issue so it is ignored by stale[bot]process: dependenciesRelated to internal dependenciestype: choreWork is required w/ no deliverable to end user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0