{"id":18710648,"url":"https://github.com/apify/apify-eslint-config","last_synced_at":"2025-11-03T16:31:14.903Z","repository":{"id":42453683,"uuid":"171267500","full_name":"apify/apify-eslint-config","owner":"apify","description":"Apify ESLint preset to be shared between projects","archived":false,"fork":false,"pushed_at":"2025-03-28T13:54:42.000Z","size":62,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-11T22:11:25.816Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apify.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2019-02-18T10:57:42.000Z","updated_at":"2025-03-28T14:02:50.000Z","dependencies_parsed_at":"2024-11-07T14:19:48.441Z","dependency_job_id":"658ecaed-180e-4401-85dc-665d20d85055","html_url":"https://github.com/apify/apify-eslint-config","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-eslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-eslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-eslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-eslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apify","download_url":"https://codeload.github.com/apify/apify-eslint-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248560466,"owners_count":21124661,"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-07T12:35:09.523Z","updated_at":"2025-11-03T16:31:14.877Z","avatar_url":"https://github.com/apify.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apify-eslint-config\n\nThis repository contains a shared eslint config used across [Apify](https://apify.com/). It offers several configs:\n- JavaScript config `@apify/eslint-config/js`\n- [TypeScript](https://www.npmjs.com/package/typescript) config that also includes JavaScript config `@apify/eslint-config/ts`\n- [Jest](https://www.npmjs.com/package/jest) config that only applies to test files and folders `@apify/eslint-config/jest`\n\n## How to add to your project\n\nFirst install the packages as development dependencies:\n\n```bash\nnpm install --save-dev @apify/eslint-config eslint\n```\n\nOptionally, you can install `typescript-eslint` or `eslint-plugin-jest` if you intend to use [TypeScript](https://www.npmjs.com/package/typescript) or [Jest](https://www.npmjs.com/package/jest).\n\nAdd `eslint.config.js` file, here's an example configuration for a TypeScript project using ESM and Jest for tests:\n\n```js\nimport apifyTypescriptConfig from '@apify/eslint-config/ts';\n// Optional\nimport apifyJestConfig from '@apify/eslint-config/jest';\n\nexport default [\n    ...apifyTypescriptConfig,\n    ...apifyJestConfig,\n    {\n        languageOptions: {\n            sourceType: 'module',\n            parserOptions: {\n                projectService: true,\n                tsconfigRootDir: import.meta.dirname,\n            },\n        },\n    },\n];\n\n```\n\nAn example configuration for a JavaScript project using CommonJS without Jest:\n```js\nconst apifyJsConfig = require('@apify/eslint-config/js');\n\nmodule.exports = [\n    ...apifyJsConfig,\n];\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Fapify-eslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapify%2Fapify-eslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Fapify-eslint-config/lists"}