feat(linter): create new workspaces with ESLint v9 and typescript-eslint v8
Closes #27451
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| nx-dev | ⬜️ Ignored (Inspect) | Visit Preview | Sep 12, 2024 6:38pm |
☁️ Nx Cloud Report
CI is running/has finished running commands for commit 90031d6e5c409f7bb12ddafd924d191612dcf083. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this CI Pipeline Execution
✅ Successfully ran 5 targets
-
nx affected --targets=lint,test,build,e2e,e2e-ci --base=e800fbf81602268a98a0162c63d2458a5dac2490 --head=90031d6e5c409f7bb12ddafd924d191612dcf083 --parallel=3 -
nx run-many -t check-imports check-commit check-lock-files check-codeowners documentation --parallel=1 --no-dte -
nx-cloud record -- nx format:check --base=e800fbf81602268a98a0162c63d2458a5dac2490 --head=90031d6e5c409f7bb12ddafd924d191612dcf083 -
nx documentation --no-dte -
nx affected -t e2e-macos-local --parallel=1 --base=e800fbf81602268a98a0162c63d2458a5dac2490 --head=90031d6e5c409f7bb12ddafd924d191612dcf083
Sent with 💌 from NxCloud.
🐳 We have a release for that!
This PR has a release associated with it. You can try it out using this command:
npx [email protected] my-workspace
Or just copy this version and use it in your own command:
0.0.0-pr-27404-9b7456c
| Release details | 📑 |
|---|---|
| Published version | 0.0.0-pr-27404-9b7456c |
| Triggered by | @jaysoo |
| Branch | eslint-v9-for-new-workspaces |
| Commit | 9b7456c |
| Workflow run | 10817714102 |
To request a new release for this pull request, mention someone from the Nx team or the @nrwl/nx-pipelines-reviewers.
hi @JamesHenry
first of all thank you so much for completing the work for this
but I have a question
why in the new project now it doesn't use tseslint.config function e.g.
const nx = require('@nx/eslint-plugin');
const tsEslint = require('typescript-eslint');
module.exports = tsEslint.config(
...nx.configs['flat/base'],
...
instead of now
const nx = require('@nx/eslint-plugin');
module.exports = [
...nx.configs['flat/base'],
...
as it provides help assistance when you try to modify the file
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.