{"id":20206504,"url":"https://github.com/useflyyer/eslint-config","last_synced_at":"2026-04-09T20:03:57.867Z","repository":{"id":38426443,"uuid":"324369174","full_name":"useflyyer/eslint-config","owner":"useflyyer","description":"Flyyer.io company wide ESLint config with Prettier, TypeScript and React support","archived":false,"fork":false,"pushed_at":"2023-01-08T06:49:20.000Z","size":654,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-13T20:48:44.134Z","etag":null,"topics":["eslint","eslint-config","flyyer","prettier","react","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@flyyer/eslint-config","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/useflyyer.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}},"created_at":"2020-12-25T13:37:05.000Z","updated_at":"2021-10-31T12:10:15.000Z","dependencies_parsed_at":"2023-02-08T05:00:54.896Z","dependency_job_id":null,"html_url":"https://github.com/useflyyer/eslint-config","commit_stats":null,"previous_names":["flayyer/eslint-config"],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/useflyyer%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/useflyyer%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/useflyyer%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/useflyyer%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/useflyyer","download_url":"https://codeload.github.com/useflyyer/eslint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241644542,"owners_count":19996177,"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":["eslint","eslint-config","flyyer","prettier","react","typescript"],"created_at":"2024-11-14T05:24:30.273Z","updated_at":"2026-04-09T20:03:52.820Z","avatar_url":"https://github.com/useflyyer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @flyyer/eslint-config\n\nPlease use this configuration to maintain a common and homogeneous code base.\n\n## Install\n\nInstall this package as any other package with:\n\n```sh\nyarn add --dev @flyyer/eslint-config eslint prettier\n```\n\nCreate a `.eslintignore` and add any files that are bundled, builded and/or _transpiled_:\n\n```txt\n!.eslintrc.js\n\n.vscode\n.next\ndist\npublic\nnode_modules\n```\n\nIn the `package.json` file add the following in the `\"scripts\"` section:\n\n```js\n {\n   // ...\n   \"scripts\": {\n     // ...\n     \"lint\": \"eslint '*/**/*.{js,ts,tsx}'\",\n   },\n }\n```\n\n### Configure for Javascript\n\nCreate a `.eslintrc.js` file in the root of your project and add the following:\n\n```js\n// .eslintrc.js\nmodule.exports = {\n  extends: [\n    \"@flyyer/eslint-config\",\n    \"@flyyer/eslint-config/jest\",\n    \"@flyyer/eslint-config/prettier\",\n  ],\n};\n```\n\n### Configure for Typescript\n\nCreate a `.eslintrc.js` file in the root of your project and add the following:\n\n```js\n// .eslintrc.js\nmodule.exports = {\n  extends: [\n    \"@flyyer/eslint-config\",\n    \"@flyyer/eslint-config/typescript\",\n    \"@flyyer/eslint-config/jest\",\n    \"@flyyer/eslint-config/prettier\",\n  ],\n};\n```\n\n### Configure for React + Typescript\n\nCreate a `.eslintrc.js` file in the root of your project and add the following:\n\n```js\n// .eslintrc.js\nmodule.exports = {\n  extends: [\n    \"@flyyer/eslint-config\",\n    \"@flyyer/eslint-config/typescript\",\n    \"@flyyer/eslint-config/react\",\n    \"@flyyer/eslint-config/jest\",\n    \"@flyyer/eslint-config/prettier\",\n  ],\n};\n```\n\n## Usage\n\nTo lint the files run:\n\n```sh\nyarn lint\n```\n\nTo lint the files and **auto-format** run:\n\n```sh\nyarn lint --fix\n```\n\n## Setup Visual Studio Code\n\nCreate file `.vscode/settings.json`\n\n```sh\nmkdir -p .vscode\ntouch .vscode/settings.json\n```\n\nAdd the following:\n\n```json\n{\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": true\n  },\n}\n```\n\n## Publishing\n\nTo make changes to this package run:\n\n```sh\nyarn link\nyarn link '@flyyer/eslint-config'\n```\n\nTo publish and update of this package run:\n\n```sh\n# git add ...\n# git commit ...\n\ngit push --follow-tags\nyarn publish --access=public\n```\n\nUnlink this package:\n\n```sh\nyarn unlink '@flyyer/eslint-config'\nyarn unlink\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuseflyyer%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuseflyyer%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuseflyyer%2Feslint-config/lists"}