JoshuaKGoldberg / JoshuaKGoldberg/create-typescript-app

🚀 Feature: Switch eslint.config.js to eslint.config.ts

Open
#2,225 3 comments 1 reaction 1 assignee Claimed by @JoshuaKGoldberg View on GitHub
status: accepting prs type: feature
Dominant language
TypeScript
Stars
1.4k
Forks
89
Avg merge
1m
Merged PRs (30d)
3

Description

### Feature Request Checklist

- [x] I have pulled the latest `main` branch of the repository.
- [x] I have [searched for related issues](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aissue) and found none that matched my issue.

### Overview

Now that Node.js has stable type stripping without a warning (https://github.com/nodejs/node/pull/58643) and ESLint supports it natively (https://github.com/eslint/eslint/issues/19357), we should be able to switch the ESLint config from `.js` to `.ts`. That'd be the last JS config file added to `--preset everything` switched to TS.

### Additional Info

Blocked on the warning-less type stripping being released in the next minor version of Node.js.

Inspired by @michaelfaith's https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/1112.

🎁

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.