{"id":20349200,"url":"https://github.com/strapi/eslint-config","last_synced_at":"2025-04-12T01:23:12.685Z","repository":{"id":40353602,"uuid":"468681379","full_name":"strapi/eslint-config","owner":"strapi","description":"Strapi eslint config","archived":false,"fork":false,"pushed_at":"2024-09-26T09:50:00.000Z","size":155,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-03-20T17:04:07.410Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strapi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-03-11T09:11:26.000Z","updated_at":"2024-12-11T09:55:01.000Z","dependencies_parsed_at":"2024-06-18T22:42:23.550Z","dependency_job_id":"e141527c-b805-40fe-b225-c516900bb733","html_url":"https://github.com/strapi/eslint-config","commit_stats":{"total_commits":24,"total_committers":7,"mean_commits":"3.4285714285714284","dds":0.5416666666666667,"last_synced_commit":"12420c8edfcfb428e65c0767984657892e496985"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strapi","download_url":"https://codeload.github.com/strapi/eslint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248502225,"owners_count":21114767,"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-14T22:24:36.954Z","updated_at":"2025-04-12T01:23:12.654Z","avatar_url":"https://github.com/strapi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-strapi\n\n## ⚠️ WORK-IN-PROGRESS ⚠️\n\nThis package provides Strapi's `.eslintrc` as an extensible shared config.\n\n## Usage\n\n\u003e This package is meant for internal use only. The configurations are subject to change at any given point.\n\nYou can install this package using it's GitHub repository:\n\n```sh\nyarn add --dev @strapi/eslint-config\n```\n\nWe export four ESLint configurations for your usage. Choose the version you need and look at the usage instructions.\n\n### eslint-config-strapi/back\n\nThis configuration is aimed as a base.\n\n1. Install the correct versions of each package:\n\n```sh\nyarn add --dev eslint@^8.10.0 \\\n               eslint-config-airbnb-base@^15.0.0 \\\n               eslint-config-prettier@^8.5.0 \\\n               eslint-plugin-import@^2.25.4\n```\n\n2. Add `\"extends\": \"strapi\"` to your `.eslintrc`\n\n### eslint-config-strapi/back\n\nThis configuration is aimed for backend usage.\n\n1. Install the correct versions of each package:\n\n```sh\nyarn add --dev eslint@^8.10.0 \\\n               eslint-config-airbnb-base@^15.0.0 \\\n               eslint-config-prettier@^8.5.0 \\\n               eslint-plugin-import@^2.25.4 \\\n               eslint-plugin-node@^11.1.0\n```\n\n2. Add `\"extends\": \"strapi/back\"` to your `.eslintrc`\n\n### eslint-config-strapi/front\n\nThis configuration is aimed for frontend usage as it adds React specific rules.\n\n1. Install the correct versions of each package:\n\n```sh\nyarn add --dev babel-eslint@10.0.0 \\\n               eslint@^8.10.0 \\\n               eslint-config-airbnb@^19.0.4 \\\n               eslint-config-prettier@^8.5.0 \\\n               eslint-plugin-import@^2.25.4 \\\n               eslint-plugin-jsx-a11y@^6.5.1 \\\n               eslint-plugin-node@^11.1.0 \\\n               eslint-plugin-react@^7.29.3 \\\n               eslint-plugin-react-hooks@^4.3.0\n```\n\n2. Add `\"extends\": \"strapi/front\"` to your `.eslintrc`\n\n### eslint-config-strapi/typescript\n\nThis configuration is aimed for backend usage with TypeScript.\n\n1. Install the correct versions of each package:\n\n```sh\nyarn add --dev @typescript-eslint/eslint-plugin@^5.14.0 \\\n               @typescript-eslint/parser@^5.14.0 \\\n               eslint@^8.10.0 \\\n               eslint-config-airbnb-base@^15.0.0 \\\n               eslint-config-airbnb-typescript@^16.1.1 \\\n               eslint-config-prettier@^8.5.0 \\\n               eslint-plugin-import@^2.25.4 \\\n               eslint-plugin-node@^11.1.0 \\\n               typescript@^4.6.2\n```\n\n2. Add `\"extends\": \"strapi/typescript\"` to your `.eslintrc`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrapi%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrapi%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrapi%2Feslint-config/lists"}