{"id":18710686,"url":"https://github.com/apify/apify-eslint-config-ts","last_synced_at":"2026-03-19T06:01:19.777Z","repository":{"id":47775589,"uuid":"299570003","full_name":"apify/apify-eslint-config-ts","owner":"apify","description":"Typescript ESLint configuration shared across projects in Apify.","archived":true,"fork":false,"pushed_at":"2025-03-03T14:12:48.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2026-01-13T16:41:27.824Z","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":null,"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":"2020-09-29T09:36:19.000Z","updated_at":"2025-03-20T15:27:14.000Z","dependencies_parsed_at":"2024-03-05T16:08:43.214Z","dependency_job_id":"c85abdb6-6d7c-4639-a0e8-9c736560616f","html_url":"https://github.com/apify/apify-eslint-config-ts","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/apify/apify-eslint-config-ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-eslint-config-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-eslint-config-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-eslint-config-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-eslint-config-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apify","download_url":"https://codeload.github.com/apify/apify-eslint-config-ts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-eslint-config-ts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30695069,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-19T05:29:31.190Z","status":"ssl_error","status_checked_at":"2026-03-19T05:28:25.821Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-07T12:35:17.176Z","updated_at":"2026-03-19T06:01:19.773Z","avatar_url":"https://github.com/apify.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚠ DEPRECATION WARNING\nThis repository and the corresponding package are deprecated and will no longer be maintained.\n\nPlease use [apify-eslint-config](https://github.com/apify/apify-eslint-config), which includes a TypeScript configuration, and support for ESLint v9 along with the new flat config structure.\n\n# Usage\n\n## Install\n```bash\nnpm install --save-dev eslint typescript @apify/eslint-config-ts @typescript-eslint/eslint-plugin @typescript-eslint/parser\n```\n\n### Usage with React\n\nTo make use of React types such as state, children etc. install:\n```bash\nnpm i --save-dev @types/react\n```\n\n## Edit `.eslintrc`\nAdd (or replace `@apify/eslint-config` package)\n\n```json\n{\n  \"extends\": \"@apify/eslint-config-ts\"\n}\n```\n\nNOTE (from https://eslint.org/docs/developer-guide/shareable-configs):\n\nWhen using scoped modules it is not possible to omit the eslint-config- prefix. Doing so would result in package naming conflicts, and thus in resolution errors in most of cases. For example a package named @scope/eslint-config-myconfig vs @scope/my-config, since both are valid scoped package names, the configuration should be specified as:\n\n```json\n{\n    \"extends\": \"@scope/eslint-config-myconfig\"\n}\n```\n\n\n## Create `tsconfig.json`\nCreate `tsconfig.json` file in the root of the project and add:\n```\n{}\n```\nList of all options https://www.typescriptlang.org/tsconfig\n\n### Example minimal setup (used on Web)\n```json\n{\n    \"compilerOptions\": {\n        \"skipLibCheck\": true,\n        \"esModuleInterop\": true,\n        \"jsx\": \"preserve\",\n        \"noUnusedLocals\": true,\n        \"noUnusedParameters\": true\n    },\n    \"exclude\": [\n        \"node_modules\",\n    ],\n    \"include\": [\n        \"**/*.ts\",\n        \"**/*.tsx\"\n    ]\n}\n```\n\n`skipLibCheck`:\nSkips typechecking of 3rd party libraries declaration files (extension .d.ts) since they may have different tsconfig\n\n`esModuleInterop`:\nAllows eg \"import React from 'react'\" instead of \"import * as React from 'react'\"\n\n`jsx`:\nAllows use of JSX tags\n\n`noUnusedLocals`:\nError on unused variables\n\n`noUnusedParameters`:\nError on unused function params\n\n\n## Edit lint npm script\nEdit lint npm script to include .ts, .tsx files and to run typescript validation\n```json\n\"eslint --ext .js,.jsx,.ts,.tsx ; tsc --noemit\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Fapify-eslint-config-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapify%2Fapify-eslint-config-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Fapify-eslint-config-ts/lists"}