{"id":22327206,"url":"https://github.com/getninjas/eslint-config-getninjas","last_synced_at":"2025-10-13T18:41:41.991Z","repository":{"id":51937981,"uuid":"93246082","full_name":"getninjas/eslint-config-getninjas","owner":"getninjas","description":"GetNinjas eslint config","archived":false,"fork":false,"pushed_at":"2024-08-08T18:37:54.000Z","size":439,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-30T08:08:22.287Z","etag":null,"topics":["es6","eslint","getninjas","javascript"],"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/getninjas.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,"zenodo":null}},"created_at":"2017-06-03T12:16:08.000Z","updated_at":"2024-08-08T18:18:37.000Z","dependencies_parsed_at":"2025-06-30T08:08:25.986Z","dependency_job_id":"5ebe5535-6416-42b0-a40f-ab4bf1aff4e8","html_url":"https://github.com/getninjas/eslint-config-getninjas","commit_stats":{"total_commits":56,"total_committers":9,"mean_commits":6.222222222222222,"dds":0.625,"last_synced_commit":"dcdb1ffe83d0cdf8b237e85e0b7baff631592b64"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/getninjas/eslint-config-getninjas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getninjas%2Feslint-config-getninjas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getninjas%2Feslint-config-getninjas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getninjas%2Feslint-config-getninjas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getninjas%2Feslint-config-getninjas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getninjas","download_url":"https://codeload.github.com/getninjas/eslint-config-getninjas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getninjas%2Feslint-config-getninjas/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269645029,"owners_count":24452662,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["es6","eslint","getninjas","javascript"],"created_at":"2024-12-04T03:08:42.963Z","updated_at":"2025-10-13T18:41:36.942Z","avatar_url":"https://github.com/getninjas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg alt=\"GetNinjas\" title=\"GetNinjas\" src=\"./assets/logo.svg\" width=\"250px\" /\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Last commit on GitHub\" src=\"https://img.shields.io/github/last-commit/getninjas/eslint-config-getninjas?color=0e73e8\"\u003e\n  \u003cimg alt=\"Made by GetNinjas\" src=\"https://img.shields.io/badge/made%20by-GetNinjas-%20?color=fde63f\"\u003e\n  \u003cimg alt=\"Project top programing language\" src=\"https://img.shields.io/github/languages/top/getninjas/eslint-config-getninjas?color=0e73e8\"\u003e\n  \u003cimg alt=\"Repository size\" src=\"https://img.shields.io/github/repo-size/getninjas/eslint-config-getninjas?color=fde63f\"\u003e\n  \u003cimg alt=\"GitHub license\" src=\"https://img.shields.io/github/license/getninjas/eslint-config-getninjas?color=0e73e8\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#information_source-how-to-use\"\u003eℹ️ How To Use?\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#rocket-contributing\"\u003e🚀 Contributing\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#computer-author\"\u003e💻 Author\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#memo-license\"\u003e📝 License\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eESLint Config GetNinjas\u003c/b\u003e is a set of \u003cb\u003elinting\u003c/b\u003e rules for \u003cb\u003eJavaScript\u003c/b\u003e, \u003cb\u003eTypeScript\u003c/b\u003e and \u003cb\u003eReact\u003c/b\u003e projects. \u003cb\u003eESLint Config GetNinjas\u003c/b\u003e uses \u003cb\u003eESLint\u003c/b\u003e configurations from \u003cb\u003eAirbnb\u003c/b\u003e and \u003cb\u003ePrettier\u003c/b\u003e as the basis for linting rules.\n\u003c/p\u003e\n\n---\n\n# :information_source: How To Use?\n\n1. Install the `eslint-config-getninjas` dependency\n\n```bash\nyarn add -D eslint-config-getninjas\n```\n\n2. Install the `peerDependencies`\n\n```bash\nyarn add -D \\\n  @typescript-eslint/eslint-plugin \\\n  @typescript-eslint/parser \\\n  eslint \\\n  eslint-config-airbnb \\\n  eslint-config-airbnb-base \\\n  eslint-config-airbnb-typescript \\\n  eslint-config-prettier \\\n  eslint-import-resolver-typescript \\\n  eslint-plugin-import \\\n  eslint-plugin-jsx-a11y \\\n  eslint-plugin-react \\\n  eslint-plugin-react-hooks \\\n  typescript\n```\n\n3. Setup\n- [React](#react);\n- [React TypeScript](#react-typescript);\n- [JavaScript Base](#javascript-base);\n- [TypeScript](#typescript);\n\n## React\nCreate a `.eslintrc.json` file extending the config for **React**:\n```\n{\n  \"extends\": \"eslint-config-getninjas/react\"\n}\n```\n\n## React TypeScript\nCreate a `.eslintrc.json` file extending the config for **React TypeScript**:\n```\n{\n  \"extends\": \"eslint-config-getninjas/react-typescript\"\n}\n```\n\n## JavaScript Base\nCreate a `.eslintrc.json` file extending the config for **JavaScript Base**:\n```\n{\n  \"extends\": \"eslint-config-getninjas/base\"\n}\n```\n\n## TypeScript\nCreate a `.eslintrc.json` file extending the config for **JavaScript Base**\n```\n{\n  \"extends\": \"eslint-config-getninjas/typescript\"\n}\n```\n\n# :rocket: Contributing\n\nIf you want to contribute to a project and make it better, your help is very welcome. Contributing is also a great way to learn more about social coding on Github, new technologies and and their ecosystems and how to make constructive, helpful bug reports, feature requests and the noblest of all contributions: a good, clean pull request.\n\n- Create a personal fork of the project on Github.\n- Clone the fork on your local machine. Your remote repo on Github is called origin.\n- If you created your fork a while ago be sure to pull upstream changes into your local repository.\n- Create a new branch to work on! Branch from develop if it exists, else from master.\n- Implement/fix your feature, comment your code.\n- Follow the code style of the project, including indentation.\n- Add or change the documentation as needed.\n- Push your branch to your fork on Github, the remote origin.\n- If the maintainer requests further changes just push them to your branch. The PR will be updated automatically.\n\n# :computer: Author\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"https://github.com/GetNinjas/\"\u003e\n        \u003cimg src=\"https://github.com/getninjas.png\" width=\"100px;\" alt=\"Rocketseat\"/\u003e\n        \u003cbr /\u003e\n        \u003csub\u003e\n          \u003cb\u003eGetNinjas\u003c/b\u003e\n        \u003c/sub\u003e\n       \u003c/a\u003e\n       \u003cbr /\u003e\n       \u003ca href=\"https://www.getninjas.com.br\" title=\"Linkedin\"\u003e@GetNinjas\u003c/a\u003e\n       \u003cbr /\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n# :memo: License\n\nThis project is licensed under the MIT License - see the [LICENSE](./LICENSE) page for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetninjas%2Feslint-config-getninjas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetninjas%2Feslint-config-getninjas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetninjas%2Feslint-config-getninjas/lists"}