{"id":23397527,"url":"https://github.com/leocode/eslint-config","last_synced_at":"2026-02-22T14:01:39.485Z","repository":{"id":39711306,"uuid":"352911600","full_name":"leocode/eslint-config","owner":"leocode","description":"ESLint configs used in Leocode's projects.","archived":false,"fork":false,"pushed_at":"2024-01-14T18:19:10.000Z","size":74,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":16,"default_branch":"main","last_synced_at":"2024-03-15T04:47:44.590Z","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/leocode.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":"2021-03-30T07:35:13.000Z","updated_at":"2022-03-08T10:23:23.000Z","dependencies_parsed_at":"2022-09-20T08:31:44.811Z","dependency_job_id":null,"html_url":"https://github.com/leocode/eslint-config","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocode%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocode%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocode%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocode%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leocode","download_url":"https://codeload.github.com/leocode/eslint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230807663,"owners_count":18283122,"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-12-22T08:19:07.894Z","updated_at":"2026-02-22T14:01:39.403Z","avatar_url":"https://github.com/leocode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LEOCODE's ESLint config\n\n## Installation\n\n1. Install all peer dependencies. You can use your favourite tool or just type:\n\n```\nFor React:\n\nyarn add --dev eslint@8 @typescript-eslint/eslint-plugin@5 @typescript-eslint/parser@5 eslint-plugin-react@7.27.0 eslint-plugin-react-hooks@4.3.0 typescript@4\n\nFor Node:\n\nyarn add --dev eslint@8 @typescript-eslint/eslint-plugin@5 @typescript-eslint/parser@5 typescript@4\n```\n\n2. Install package with configuration:\n\n```\nyarn add --dev @leocode/eslint-config\n```\n\n## Usage\n\nFor node put this in `.eslintrc.js` file:\n\n```js\nmodule.exports = {\n  extends: ['@leocode/eslint-config/node'],\n};\n```\n\nFor React put this in `.eslintrc.js` file:\n\n```js\nmodule.exports = {\n  extends: ['@leocode/eslint-config/react'],\n};\n```\n\n## Known issues\n\nIf ESLint doesn't work by default in your editor (it cannot find `tsconfig.json` file), you may need to specify in `.eslintrc.js`:\n\n```js\nmodule.exports = {\n  extends: ['@leocode/eslint-config/node'],\n  parserOptions: {\n    tsconfigRootDir: __dirname, // or any other directory relative to `.eslintrc.js` file\n  },\n};\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleocode%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleocode%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleocode%2Feslint-config/lists"}