{"id":21553110,"url":"https://github.com/hubspotwebteam/wt-eslint-typescript","last_synced_at":"2025-04-10T07:50:19.596Z","repository":{"id":38236748,"uuid":"490642108","full_name":"HubSpotWebTeam/wt-eslint-typescript","owner":"HubSpotWebTeam","description":"HubSpot Marketing WebTeam ESLint rules for Typescript","archived":false,"fork":false,"pushed_at":"2024-12-03T13:55:30.000Z","size":157,"stargazers_count":1,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T08:04:28.992Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HubSpotWebTeam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-10T10:08:35.000Z","updated_at":"2024-12-03T13:49:52.000Z","dependencies_parsed_at":"2024-06-21T20:31:04.537Z","dependency_job_id":"77092fe4-aaf9-4a30-8629-8346e6835169","html_url":"https://github.com/HubSpotWebTeam/wt-eslint-typescript","commit_stats":{"total_commits":21,"total_committers":5,"mean_commits":4.2,"dds":0.6190476190476191,"last_synced_commit":"492fc497530c2ba56340ed8b66c32b20471dccbb"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubSpotWebTeam%2Fwt-eslint-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubSpotWebTeam%2Fwt-eslint-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubSpotWebTeam%2Fwt-eslint-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubSpotWebTeam%2Fwt-eslint-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HubSpotWebTeam","download_url":"https://codeload.github.com/HubSpotWebTeam/wt-eslint-typescript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248182010,"owners_count":21060891,"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-24T07:09:32.859Z","updated_at":"2025-04-10T07:50:19.568Z","avatar_url":"https://github.com/HubSpotWebTeam.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hubspot Marketing WebTeam ESLint rules for TypeScript\n\nThis is a list of TypeScript rules that are recommended for use with Hubspot Marketing WebTeam projects.\n\nhttps://www.npmjs.com/package/@hs-web-team/eslint-config-ts\n\n\u003c!-- index-start --\u003e\n## Index\n\n- [Introduction](#introduction)\n- [Setup](#setup)\n- [Migrating from an exisiting .eslint config](#migrating-from-an-existing-eslint-config)\n- [Where to use it](#where-to-use-it)\n\u003c!-- index-end --\u003e\n\n## Introduction\n\nThis is a set of ESLint rules that are recommended for use with Hubspot Marketing WebTeam projects, and can be used in conjunction with the **[browser](https://www.npmjs.com/package/@hs-web-team/eslint-config-browser)** or **[node](https://www.npmjs.com/package/@hs-web-team/eslint-config-node)** linting packages.\n\nNote that this package will only apply rules to TypeScript files (`.ts` and `.tsx`). It will not apply rules to JavaScript files (`.js` and `.jsx`). You must use the **[browser](https://www.npmjs.com/package/@hs-web-team/eslint-config-browser)** or **[node](https://www.npmjs.com/package/@hs-web-team/eslint-config-node)** linting packages to use ESLint rules for vanilla JavaScript files.\n\n## Setup\n\n1. Install as dev dependency\n\n```sh\nnpm i -D @hs-web-team/eslint-config-ts\n```\n\n2. Add to `.eslintrc` in project root directory\n\n```json\n{\n  \"extends\": \"@hs-web-team/eslint-config-ts\"\n}\n```\n\nor when used with the browser/node rules:\n\n```json\n{\n  \"extends\": [\n    \"@hs-web-team/eslint-config-browser\", // or \"@hs-web-team/eslint-config-node\"\n    \"@hs-web-team/eslint-config-ts\"\n  ],\n}\n```\n\n## Migrating from an existing .eslint config\n\n1. Remove `node_modules`\n2. Delete `package-lock.json`\n3. `npm install`\n4. Re open your vscode/editor workspace\n5. Check if `ts` linting is working\n\n\n## References\n\n[Shareable ESLint Configs Reference](https://eslint.org/docs/developer-guide/shareable-configs)\n\n## Where to use it\n\nThis package is intended to be used in projects that use TypeScript, in conjunction with either the Node or Browser linting packages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubspotwebteam%2Fwt-eslint-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhubspotwebteam%2Fwt-eslint-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubspotwebteam%2Fwt-eslint-typescript/lists"}