TS 5.7 added support for ES2024. By keeping target: “esnext”, we would have accidentally set our minimum supported ES version to ES2024. This sets it to ES2022, which is the version supported by Node 18
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"name": "@payloadcms/eslint-config",
|
|
"version": "3.0.0",
|
|
"description": "Payload styles for ESLint and Prettier",
|
|
"keywords": [],
|
|
"homepage": "https://payloadcms.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/payloadcms/payload.git",
|
|
"directory": "packages/eslint-config"
|
|
},
|
|
"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.16.1",
|
|
"@eslint/js": "9.14.0",
|
|
"@payloadcms/eslint-plugin": "workspace:*",
|
|
"@types/eslint": "9.6.1",
|
|
"@types/eslint__js": "8.42.3",
|
|
"@typescript-eslint/parser": "8.14.0",
|
|
"eslint": "9.14.0",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-plugin-import-x": "4.4.2",
|
|
"eslint-plugin-jest": "28.9.0",
|
|
"eslint-plugin-jest-dom": "5.4.0",
|
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
"eslint-plugin-perfectionist": "3.9.1",
|
|
"eslint-plugin-react-hooks": "5.0.0",
|
|
"eslint-plugin-regexp": "2.6.0",
|
|
"globals": "15.12.0",
|
|
"typescript": "5.7.2",
|
|
"typescript-eslint": "8.14.0"
|
|
}
|
|
}
|