{"id":15368458,"url":"https://github.com/koddsson/eslint-plugin-tscompat","last_synced_at":"2025-04-15T12:55:11.140Z","repository":{"id":234128652,"uuid":"788316203","full_name":"koddsson/eslint-plugin-tscompat","owner":"koddsson","description":"A type aware browser compatability ESLint rule","archived":false,"fork":false,"pushed_at":"2025-04-14T03:24:06.000Z","size":510,"stargazers_count":9,"open_issues_count":8,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T12:54:59.877Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/koddsson.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}},"created_at":"2024-04-18T07:19:51.000Z","updated_at":"2025-04-14T03:22:51.000Z","dependencies_parsed_at":"2024-07-08T05:25:43.142Z","dependency_job_id":"0638c8d2-8132-4244-a123-98e818820358","html_url":"https://github.com/koddsson/eslint-plugin-tscompat","commit_stats":{"total_commits":164,"total_committers":2,"mean_commits":82.0,"dds":0.2621951219512195,"last_synced_commit":"4783093476e637fcd256e8f20dd547e6375892cc"},"previous_names":["koddsson/eslint-config-tscompat"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koddsson%2Feslint-plugin-tscompat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koddsson%2Feslint-plugin-tscompat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koddsson%2Feslint-plugin-tscompat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koddsson%2Feslint-plugin-tscompat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koddsson","download_url":"https://codeload.github.com/koddsson/eslint-plugin-tscompat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249076544,"owners_count":21208811,"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-10-01T13:29:28.329Z","updated_at":"2025-04-15T12:55:11.122Z","avatar_url":"https://github.com/koddsson.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@koddsson/eslint-plugin-tscompat`\n\n\u003e A type-aware browser compatability ESLint rule\n\n## Install\n\nAssuming you already have ESLint installed, run:\n\n```sh\nnpm install @koddsson/eslint-plugin-tscompat --save-dev\n```\n\n## Usage\n\nThen extend the recommended eslint config:\n\n```js\nimport tscompat from \"@koddsson/eslint-plugin-tscompat\";\nimport parser from \"@typescript-eslint/parser\";\n\nexport default [\n  {\n    plugins: {\n      tscompat,\n    },\n    rules: {\n      \"tscompat/tscompat\": [\n        \"error\",\n        { browserslist: [\"\u003e0.3%\", \"last 2 versions\", \"not dead\"] },\n      ],\n    },\n    languageOptions: {\n      parser,\n      parserOptions: {\n        project: [\"./tsconfig.json\"],\n        tsconfigRootDir: __dirname,\n      },\n    },\n  },\n];\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoddsson%2Feslint-plugin-tscompat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoddsson%2Feslint-plugin-tscompat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoddsson%2Feslint-plugin-tscompat/lists"}