Skip to content

tools: move ESLint tools to tools/eslint - #53393

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
targos:mv-eslint-tools
Jun 11, 2024
Merged

tools: move ESLint tools to tools/eslint#53393
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
targos:mv-eslint-tools

Conversation

@targos

Copy link
Copy Markdown
Member

With ESLint flat config, we don't need a hack with node_modules anymore to load ESLint plugins.
This commit moves the node-core plugin out of tools/node_modules and creates
a new tools/eslint directory to store ESLint tools.

@nodejs-github-botnodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Jun 9, 2024
@targos

Copy link
Copy Markdown
MemberAuthor

The next step will be to move ESLint itself and rework how it and its plugins are installed/updated.

With ESLint flat config, we don't need a hack with `node_modules`
anymore to load ESLint plugins.
This commit moves the node-core plugin out of `tools/node_modules` and
creates a new `tools/eslint` directory to store ESLint tools.
@targostargos added the request-ci Add this label to start a Jenkins CI on a PR. label Jun 9, 2024
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 9, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/59704/

@targostargos added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Jun 9, 2024
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 11, 2024
@nodejs-github-bot
nodejs-github-bot merged commit 94c8178 into nodejs:mainJun 11, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 94c8178

targos added a commit that referenced this pull request Jun 20, 2024
With ESLint flat config, we don't need a hack with `node_modules`
anymore to load ESLint plugins.
This commit moves the node-core plugin out of `tools/node_modules` and
creates a new `tools/eslint` directory to store ESLint tools.
PR-URL: #53393
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
soophoo pushed a commit to soophoo/node that referenced this pull request Jun 20, 2024
With ESLint flat config, we don't need a hack with `node_modules`
anymore to load ESLint plugins.
This commit moves the node-core plugin out of `tools/node_modules` and
creates a new `tools/eslint` directory to store ESLint tools.
PR-URL: nodejs#53393
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
@targostargos mentioned this pull request Jun 25, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.lib / srcIssues and PRs related to general changes in the lib or src directory.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@targos@nodejs-github-bot@lpinca@anonrig@MoLow@marco-ippolito@VoltrexKeyva@atlowChemi