This bumps all eslint packages, ensuring compatibility with TypeScript 5.7.3. Previously, the following would be thrown: ```bash WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree. You may find that it works just fine, or you may not. SUPPORTED TYPESCRIPT VERSIONS: >=4.7.4 <5.7.0 YOUR TYPESCRIPT VERSION: 5.7.3 Please only submit bug reports when using the officially supported version ``` This [might have caused errors during linting](https://payloadcms.slack.com/archives/C04H7CQ615K/p1741707183505329?thread_ts=1741707036.030089&cid=C04H7CQ615K). `payload` lint before: ✖ 380 problems (9 errors, 371 warnings) `payload` lint after: ✖ 381 problems (9 errors, 372 warnings) `ui` lint before: ✖ 154 problems (12 errors, 142 warnings) `ui` lint after: ✖ 267 problems (12 errors, 255 warnings) The additional warnings in `ui` come from the new `@eslint-react/no-use-context` and `@eslint-react/no-context-provider` rules which are good to have in React 19.
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"name": "@payloadcms/eslint-plugin",
|
|
"version": "3.9.0",
|
|
"description": "Payload plugin for ESLint",
|
|
"keywords": [],
|
|
"homepage": "https://payloadcms.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/payloadcms/payload.git",
|
|
"directory": "packages/eslint-plugin"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Payload <dev@payloadcms.com> (https://payloadcms.com)",
|
|
"maintainers": [
|
|
{
|
|
"name": "Payload",
|
|
"email": "info@payloadcms.com",
|
|
"url": "https://payloadcms.com"
|
|
}
|
|
],
|
|
"type": "module",
|
|
"main": "index.mjs",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"dependencies": {
|
|
"@eslint-react/eslint-plugin": "1.31.0",
|
|
"@eslint/js": "9.22.0",
|
|
"@types/eslint": "9.6.1",
|
|
"@typescript-eslint/parser": "8.26.1",
|
|
"eslint": "9.22.0",
|
|
"eslint-config-prettier": "10.1.1",
|
|
"eslint-plugin-import-x": "4.6.1",
|
|
"eslint-plugin-jest": "28.11.0",
|
|
"eslint-plugin-jest-dom": "5.5.0",
|
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
"eslint-plugin-perfectionist": "3.9.1",
|
|
"eslint-plugin-react-hooks": "0.0.0-experimental-d331ba04-20250307",
|
|
"eslint-plugin-regexp": "2.7.0",
|
|
"globals": "16.0.0",
|
|
"typescript": "5.7.3",
|
|
"typescript-eslint": "8.26.1"
|
|
}
|
|
}
|