{"id":16864340,"url":"https://github.com/nickserv/eslint-config-types","last_synced_at":"2025-11-11T14:30:20.371Z","repository":{"id":252169822,"uuid":"838997048","full_name":"nickserv/eslint-config-types","owner":"nickserv","description":"ESLint configuration for JavaScript using stripped types, without TypeScript runtime features","archived":false,"fork":false,"pushed_at":"2025-02-06T08:51:22.000Z","size":42,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T11:05:53.142Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://npm.im/eslint-config-types","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/nickserv.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"nickmccurdy"}},"created_at":"2024-08-06T18:56:27.000Z","updated_at":"2025-02-06T08:50:25.000Z","dependencies_parsed_at":"2024-08-08T04:42:24.456Z","dependency_job_id":"2183dd6a-773f-4d46-b553-4eb59fe58eae","html_url":"https://github.com/nickserv/eslint-config-types","commit_stats":null,"previous_names":["nickserv/eslint-config-types"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickserv%2Feslint-config-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickserv%2Feslint-config-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickserv%2Feslint-config-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickserv%2Feslint-config-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickserv","download_url":"https://codeload.github.com/nickserv/eslint-config-types/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239593056,"owners_count":19664855,"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-13T14:41:42.762Z","updated_at":"2025-11-11T14:30:20.327Z","avatar_url":"https://github.com/nickserv.png","language":"JavaScript","funding_links":["https://github.com/sponsors/nickmccurdy"],"categories":[],"sub_categories":[],"readme":"# `eslint-config-types`\n\nESLint configuration for JavaScript using stripped types, without TypeScript\nruntime features\n\n\u003e [!WARNING]  \n\u003e This package will be deprecated in favor of\n\u003e [the `--erasableSyntaxOnly` option in TypeScript 5.8](https://devblogs.microsoft.com/typescript/announcing-typescript-5-8-beta/#the---erasablesyntaxonly-option).\n\u003e \\\n\u003e If you're not already using `eslint-config-types`, I recommend trying out\n\u003e [TypeScript 5.8 beta](https://devblogs.microsoft.com/typescript/announcing-typescript-5-8-beta/)\n\u003e instead.\n\n## Installation\n\n```\nnpm install --save-dev eslint eslint-config-types\n```\n\n```\npnpm install --save-dev eslint eslint-config-types\n```\n\n```\nyarn add --dev eslint eslint-config-types @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint\n```\n\n## Usage\n\nIn your `eslint.config.js` file, add:\n\n```js\nimport types from \"eslint-config-types\";\n\nexport default [\n\ttypes,\n\t// existing config (if any)\n];\n```\n\nIn your `.eslintrc.json` file, add:\n\n```json\n\"extends\": \"types/legacy\"\n```\n\n## Environment support\n\nThis config only allows TypeScript features supported in the following\nenvironments:\n\n- Babel\n- Bun\n- Deno\n- esbuild\n- Node.js\n- swc\n- Vite\n\n## Features to avoid\n\n- [Experimental decorators](https://www.typescriptlang.org/tsconfig/#experimentalDecorators)\n- [Namespaces](https://www.typescriptlang.org/docs/handbook/namespaces.html)\n- [Parameter properties](https://www.typescriptlang.org/docs/handbook/2/classes.html#parameter-properties)\n- Property accessibility\n- [Enums](https://www.typescriptlang.org/docs/handbook/enums.html)\n\n## Inspiration\n\nhttps://x.com/sebastienlorber/status/1820497162872226062\n\n## Thanks\n\n- [Sébastien Lorber](https://github.com/slorber)\n- [Josh Goldberg](https://github.com/JoshuaKGoldberg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickserv%2Feslint-config-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickserv%2Feslint-config-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickserv%2Feslint-config-types/lists"}