{"id":19301907,"url":"https://github.com/payloadcms/eslint-config","last_synced_at":"2025-06-26T16:09:17.607Z","repository":{"id":65929787,"uuid":"602695693","full_name":"payloadcms/eslint-config","owner":"payloadcms","description":"The official Payload ESLint config","archived":false,"fork":false,"pushed_at":"2023-07-06T15:40:03.000Z","size":40,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-26T16:03:37.548Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/payloadcms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-16T18:50:29.000Z","updated_at":"2023-07-06T21:03:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"41651bf2-7ae2-495c-9847-2671fa8b7aec","html_url":"https://github.com/payloadcms/eslint-config","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"28130ce7df37f51bbb912270632b9bae7b6d99dd"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/payloadcms/eslint-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payloadcms%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payloadcms%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payloadcms%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payloadcms%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/payloadcms","download_url":"https://codeload.github.com/payloadcms/eslint-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payloadcms%2Feslint-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262099693,"owners_count":23258666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T23:19:15.441Z","updated_at":"2025-06-26T16:09:17.596Z","avatar_url":"https://github.com/payloadcms.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM](https://img.shields.io/npm/v/@payloadcms/eslint-config)](https://www.npmjs.com/@payloadcms/eslint-config)\n![Bundle Size](https://img.shields.io/bundlephobia/minzip/@payloadcms/eslint-config?label=zipped)\n\n# Payload CMS ESLint Config\n\nAn [ESLint](https://github.com/eslint/eslint) config for [Payload](https://github.com/payloadcms/payload) projects.\n\n### Installation\n\n```bash\n$ npm i --save-dev @payloadcms/eslint-config\n$ npm info @payloadcms/eslint-config peerDependencies\n$ npm i --save-dev \u003cdependency\u003e@\u003cversion\u003e # for each dependency in the above output\n$ # or\n$ yarn add --dev @payloadcms/eslint-config\n$ yarn info @payloadcms/eslint-config peerDependencies\n$ yarn add --dev \u003cdependency\u003e@\u003cversion\u003e # for each dependency in the above output\n```\n\n### Usage\n\nIn your ESLint config file, extend the config (`.eslintrc`, `.eslintrc.js`, `eslint.json`, etc):\n\n```javascript\n{\n  \"extends\": \"@payloadcms\"\n}\n```\n\nIf using Webpack, install and configure `eslint-loader` to have loaded files automatically linted.\n\n```javascript\n{\n  test: /\\.js$/,\n  exclude: /node_modules/,\n  loader: 'eslint-loader',\n  options: {\n    fix: true,\n    emitWarning: true,\n  },\n}\n```\n\n## Demo\n\n```bash\n$ git clone git@github.com:payloadcms/eslint-config.git\n$ yarn\n$ yarn demo\n$ open http://localhost:3000\n```\n\n## License\n\n[MIT](https://github.com/payloadcms/eslint-config/blob/master/LICENSE) Copyright (c) Payload\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayloadcms%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpayloadcms%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayloadcms%2Feslint-config/lists"}