{"id":17136911,"url":"https://github.com/weirdpattern/eslint-config-typescript","last_synced_at":"2026-02-11T02:40:43.579Z","repository":{"id":25064386,"uuid":"102998746","full_name":"weirdpattern/eslint-config-typescript","owner":"weirdpattern","description":"An opinionated set of ESLint rules for TypeScript projects","archived":false,"fork":false,"pushed_at":"2023-01-04T01:18:54.000Z","size":940,"stargazers_count":5,"open_issues_count":15,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T01:01:41.079Z","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/weirdpattern.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-09-10T02:46:38.000Z","updated_at":"2023-09-02T14:55:48.000Z","dependencies_parsed_at":"2023-01-14T08:00:31.233Z","dependency_job_id":null,"html_url":"https://github.com/weirdpattern/eslint-config-typescript","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weirdpattern%2Feslint-config-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weirdpattern%2Feslint-config-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weirdpattern%2Feslint-config-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weirdpattern%2Feslint-config-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weirdpattern","download_url":"https://codeload.github.com/weirdpattern/eslint-config-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248254516,"owners_count":21073100,"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-14T20:05:44.060Z","updated_at":"2026-02-11T02:40:43.533Z","avatar_url":"https://github.com/weirdpattern.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-typescript\nAn opinionated set of ESLint rules for TypeScript projects\n\n## Installation\nInstall eslint-config-typescript:\n\n```bash\n$ npm install --save-dev eslint-config-typescript\n```\n\nThen, add eslint-config-typescript to the \"extends\" array in your ESLint file. \nMake sure to put it last, so it gets the chance to override other configs.\n\n```json\n{\n  \"extends\": [\n    \"typescript\"\n  ]\n}\n```\n\nA few ESLint plugins are supported as well:\n```json\n{\n  \"extends\": [\n    \"typescript\",\n    \"typescript/react\",\n    \"typescript/prettier\",\n    \"typescript/prettier-react\"\n  ]\n}\n```\n\nNote: `typescript/prettier-react` will automatically import `typescript/prettier`.\n\n## Example configuration\nUsing default prettier configurations:\n```json\n{\n  \"extends\": [\n    \"typescript\",\n    \"typescript/prettier\"    \n  ],\n  \"plugins\": [\"filenames\", \"jest\"],\n  \"env\": {    \n    \"jest\": true,\n    \"node\": true\n  },\n  \"rules\": {\n    \"filenames/no-index\": \"error\",\n    \"filenames/match-exported\": [\"error\", \"kebab\"],\n    \"jest/no-disabled-tests\": \"error\",\n    \"jest/no-focused-tests\": \"error\",\n    \"jest/no-identical-title\": \"error\",\n    \"jest/valid-expect\": \"error\"\n  }\n}\n```\n\nUsing specific react configurations:\n```json\n{\n  \"extends\": [\n    \"typescript\",\n    \"typescript/react\",\n    \"typescript/prettier-react\"\n  ],\n  \"plugins\": [\"filenames\", \"jest\"],\n  \"env\": {    \n    \"jest\": true,\n    \"node\": true\n  },\n  \"rules\": {\n    \"filenames/no-index\": \"error\",\n    \"filenames/match-exported\": [\"error\", \"kebab\"],\n    \"jest/no-disabled-tests\": \"error\",\n    \"jest/no-focused-tests\": \"error\",\n    \"jest/no-identical-title\": \"error\",\n    \"jest/valid-expect\": \"error\",\n    \"prettier/prettier\": [\n      \"error\",\n      {\n        \"semi\": false,\n        \"tabWidth\": 4,\n        \"singleQuote\": true\n      }\n    ]\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweirdpattern%2Feslint-config-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweirdpattern%2Feslint-config-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweirdpattern%2Feslint-config-typescript/lists"}