Skip to content

"Test Whitespace and line endings" workflow uses unmaintained eclint #2526

Closed

Description

@MikeMcC399

Situation

The npm module eclint, last published in Oct 2018, is archived since Oct 2020 and is therefore unsupported and unmaintained. It is used in the GitHub Actions workflow eclint.yml "Test Whitespace and line endings".

https://github.com/nodejs/docker-node/security/code-scanning/30 also reports the non-pinned dependency.

Options

jednano/eclint#226 discusses using:

Also implementation of ESLint may be considered.

To pin the dependency eclint (or its replacement) would need a package manager lockfile, as Dependabot doesn't otherwise offer any update mechanism (same for Renovate).

We would need to come to some general consensus about this before it makes sense to submit any related PR.

Activity

  1. added theissue type on May 29, 2026
  2. MikeMcC399 commented on May 29, 2026

    @MikeMcC399
    ContributorAuthor

    Considering that the node repo lints with ESLint, that may be the way to go. This would be more than just ensuring consistent indentation though. Currently JavaScript styles in this repo are inconsistent in things like single/double quote and semicolon usage.

  3. changed the title [-]"Test Whitespace and line endings" workflow uses unmaintained eclint[/-] [+]"Test Whitespace and line endings" workflow uses unmaintained `eclint`[/+] on May 31, 2026
  4. MikeMcC399 commented on Jul 17, 2026

    @MikeMcC399
    Author
  5. MikeMcC399 commented on Jul 20, 2026

    @MikeMcC399
    ContributorAuthor

    There are different options for replacing eclint:

    Formatting linter docs Linter package Filetype
    ESLint JSON Language Plugin @eslint/json json
    ESLint Stylistic @stylistic/eslint-plugin js, mjs
    eslint-plugin-yml eslint-plugin-yml yml
    Prettier prettier js, mjs, json, md, yml
    shfmt shfmt sh
    yamllint yamllint yml

    Showing the available choice for each filetype:

    Filetype Extension Available formatting linters
    Bash sh shfmt
    JavaScript js, mjs @stylistic/eslint-plugin, prettier
    JSON json eslint-plugin-yml, prettier
    Markdown md prettier
    YAML yml eslint-plugin-yml, yamllint, prettier
  6. added
    ciCI (Continuous Integration) workflows
    on Jul 20, 2026
  7. MikeMcC399 commented on Jul 20, 2026

    @MikeMcC399
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciCI (Continuous Integration) workflows

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions