fix(linter): move eslint to peerDependencies and allow eslint 9 (#26013)

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
This commit is contained in:
Leosvel Pérez Espinosa 2024-05-24 17:31:36 +02:00 committed by GitHub
parent d7cd6a2597
commit 9d6e5ad48c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,12 +31,12 @@
"generators": "./generators.json",
"executors": "./executors.json",
"peerDependencies": {
"@zkochan/js-yaml": "0.0.7"
"@zkochan/js-yaml": "0.0.7",
"eslint": "^8.0.0 || ^9.0.0"
},
"dependencies": {
"@nx/devkit": "file:../devkit",
"@nx/js": "file:../js",
"eslint": "^8.0.0",
"semver": "^7.5.3",
"tslib": "^2.3.0",
"typescript": "~5.4.2"