Skip to content

Commit

Permalink
fix(eslint-config): overrides @types/eslint for @types/eslint-plugin-…
Browse files Browse the repository at this point in the history
…mocha
  • Loading branch information
northword committed Mar 1, 2025
1 parent fe5fc13 commit d70bf23
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 19 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
"packages/*",
"docs"
],
"pnpm": {
"overrides": {
"@types/eslint": "npm:eslint@^9.21.0"
}
},
"lint-staged": {
"*": "eslint --fix"
}
Expand Down
1 change: 0 additions & 1 deletion packages/eslint-config/src/configs/mocha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import mochaPlugin from "eslint-plugin-mocha";
import { GLOB_TEST } from "../globs.js";

export const mocha: Linter.Config[] = [
// @ts-expect-error seems a bug to @types/eslint@9.6.0
{
files: [GLOB_TEST],
...mochaPlugin.configs.flat.recommended,
Expand Down
41 changes: 23 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d70bf23

Please sign in to comment.