{"id":19528870,"url":"https://github.com/adonisjs/eslint-config","last_synced_at":"2025-07-08T18:05:26.762Z","repository":{"id":254102235,"uuid":"845470443","full_name":"adonisjs/eslint-config","owner":"adonisjs","description":"ESLint presets used by the AdonisJS core team","archived":false,"fork":false,"pushed_at":"2025-06-18T03:59:53.000Z","size":66,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"2.x","last_synced_at":"2025-06-18T04:36:09.485Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/adonisjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null},"funding":{"github":"thetutlage"}},"created_at":"2024-08-21T10:14:04.000Z","updated_at":"2025-06-18T03:59:57.000Z","dependencies_parsed_at":"2024-08-21T12:42:08.821Z","dependency_job_id":"532f93c7-1947-40f7-8e39-63e15557d507","html_url":"https://github.com/adonisjs/eslint-config","commit_stats":null,"previous_names":["adonisjs/eslint-config"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/adonisjs/eslint-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adonisjs","download_url":"https://codeload.github.com/adonisjs/eslint-config/tar.gz/refs/heads/2.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Feslint-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260490831,"owners_count":23017154,"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-11T01:20:29.312Z","updated_at":"2025-07-08T18:05:26.755Z","avatar_url":"https://github.com/adonisjs.png","language":"JavaScript","funding_links":["https://github.com/sponsors/thetutlage"],"categories":[],"sub_categories":[],"readme":"# @adonisjs/eslint-config\n\n\u003e Compatible with ESLint 9.0 and Prettier 3.0\n\n\u003chr\u003e\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003eESLint presets used by the AdonisJS core team\u003c/h3\u003e\n  \u003cp\u003eThe \u003ccode\u003eadonisjs/eslint-config\u003c/code\u003e ships with the default set of ESLint rules used by the AdonisJS core team. The presets are tuned to work alongside Prettier.\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![npm-image]][npm-url] [![license-image]][license-url]\n\n\u003c/div\u003e\n\n## Installation\n\nInstall the package from the npm registry.\n\n```sh\nnpm i -D @adonisjs/eslint-config\n\n# Install peer dependencies\nnpm i -D eslint@9 prettier@3\n```\n\n## Usage\n\nAfter installation, use one of the following presets depending on the nature of your application/library.\n\n**For package development**: Use the following preset when developing a package\n\n```ts\n// eslint.config.js\nimport { configPkg } from '@adonisjs/eslint-config'\nexport default configPkg()\n```\n\n**For app development**: Use the following preset when developing an AdonisJS application\n\n```ts\n// eslint.config.js\nimport { configApp } from '@adonisjs/eslint-config'\nexport default configApp()\n```\n\n## Adding additional config blocks\n\nYou can pass additional config blocks as multiple arguments to one of the preset functions.\n\n```ts\nimport { configApp, INCLUDE_LIST, IGNORE_LIST } from '@adonisjs/eslint-config'\n\nexport default configApp({\n  name: 'Custom config',\n  files: INCLUDE_LIST,\n  ignores: IGNORE_LIST,\n  plugins: {\n    // ESLint plugins go here\n  },\n  rules: {\n    // ESLint rules go here\n  },\n})\n```\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003e\n    \u003ca href=\"https://adonisjs.com\"\u003e\n      Website\n    \u003c/a\u003e\n    \u003cspan\u003e | \u003c/span\u003e\n    \u003ca href=\"https://docs.adonisjs.com\"\u003e\n      Guides\n    \u003c/a\u003e\n    \u003cspan\u003e | \u003c/span\u003e\n    \u003ca href=\"https://github.com/adonisjs/.github/blob/main/docs/CONTRIBUTING.md\"\u003e\n      Contributing\n    \u003c/a\u003e\n  \u003c/h3\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003csub\u003eBuilt with ❤︎ by \u003ca href=\"https://github.com/Julien-R44\"\u003eJulien Ripouteau\u003c/a\u003e and \u003ca href=\"https://github.com/thetutlage\"\u003eHarminder Virk\u003c/a\u003e\n\u003c/div\u003e\n\n[npm-image]: https://img.shields.io/npm/v/@adonisjs/eslint-config/latest.svg?style=for-the-badge\u0026logo=npm\n[npm-url]: https://www.npmjs.com/package/@adonisjs/eslint-config/v/latest 'npm'\n[license-url]: LICENSE.md\n[license-image]: https://img.shields.io/github/license/adonisjs/adonis-framework?style=for-the-badge\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadonisjs%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadonisjs%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadonisjs%2Feslint-config/lists"}