Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump @eslint/eslintrc from 3.0.0 to 3.0.2 #1300

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2024

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps @eslint/eslintrc from 3.0.0 to 3.0.2.

Release notes

Sourced from @​eslint/eslintrc's releases.

v3.0.2

3.0.2 (2024-02-12)

Chores

  • maintenance update of globals to v14 (#152) (4151865)

v3.0.1

3.0.1 (2024-02-09)

Documentation

Chores

Changelog

Sourced from @​eslint/eslintrc's changelog.

3.0.2 (2024-02-12)

Chores

  • maintenance update of globals to v14 (#152) (4151865)

3.0.1 (2024-02-09)

Documentation

Chores

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@eslint/eslintrc](https://github.com/eslint/eslintrc) from 3.0.0 to 3.0.2.
- [Release notes](https://github.com/eslint/eslintrc/releases)
- [Changelog](https://github.com/eslint/eslintrc/blob/main/CHANGELOG.md)
- [Commits](eslint/eslintrc@v3.0.0...v3.0.2)

---
updated-dependencies:
- dependency-name: "@eslint/eslintrc"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 1, 2024
@github-actions github-actions bot enabled auto-merge (squash) March 1, 2024 03:33
Copy link
Contributor

github-actions bot commented Mar 1, 2024

Diff between @eslint/eslintrc 3.0.0 and 3.0.2
diff --git a/package.json b/package.json
index v3.0.0..v3.0.2 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
 {
   "name": "@eslint/eslintrc",
-  "version": "3.0.0",
+  "version": "3.0.2",
   "description": "The legacy ESLintRC config file format for ESLint",
   "type": "module",
@@ -69,6 +69,6 @@
     "ajv": "^6.12.4",
     "debug": "^4.3.2",
-    "espree": "^9.6.0",
-    "globals": "^13.19.0",
+    "espree": "^10.0.1",
+    "globals": "^14.0.0",
     "ignore": "^5.2.0",
     "import-fresh": "^3.2.1",
diff --git a/README.md b/README.md
index v3.0.0..v3.0.2 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,6 @@
     baseDirectory: __dirname,                  // optional; default: process.cwd()
     resolvePluginsRelativeTo: __dirname,       // optional
-    recommendedConfig: js.configs.recommended, // optional
-    allConfig: js.configs.all,                 // optional
+    recommendedConfig: js.configs.recommended, // optional unless you're using "eslint:recommended"
+    allConfig: js.configs.all,                 // optional unless you're using "eslint:all"
 });
 
@@ -78,6 +78,6 @@
     baseDirectory: __dirname,                  // optional; default: process.cwd()
     resolvePluginsRelativeTo: __dirname,       // optional
-    recommendedConfig: js.configs.recommended, // optional
-    allConfig: js.configs.all,                 // optional
+    recommendedConfig: js.configs.recommended, // optional unless using "eslint:recommended"
+    allConfig: js.configs.all,                 // optional unless using "eslint:all"
 });
 
@@ -111,4 +111,15 @@
 ```
 
+## Troubleshooting
+
+**TypeError: Missing parameter 'recommendedConfig' in FlatCompat constructor**
+
+The `recommendedConfig` option is required when any config uses `eslint:recommended`, including any config in an `extends` clause. To fix this, follow the example above using `@eslint/js` to provide the `eslint:recommended` config.
+
+**TypeError: Missing parameter 'allConfig' in FlatCompat constructor**
+
+The `allConfig` option is required when any config uses `eslint:all`, including any config in an `extends` clause. To fix this, follow the example above using `@eslint/js` to provide the `eslint:all` config.
+
+
 ## License
Size Files
651.5 KB → 652.3 KB (+749 B 🟡) 28 → 28 (±0 🟢)
Command details
npm diff --diff=@eslint/eslintrc@3.0.0 --diff=@eslint/eslintrc@3.0.2 --diff-unified=2

See also the npm diff document.

Reported by ybiquitous/npm-diff-action@v1.5.0 (Node.js 20.11.1 and npm 10.5.0)

@github-actions github-actions bot merged commit a8eb05b into main Mar 1, 2024
6 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/eslint/eslintrc-3.0.2 branch March 1, 2024 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants