Skip to content

Conversation

@rosskevin
Copy link

Closes #23

Refactored typescript logic into utilities for reuse.

@rosskevin
Copy link
Author

This is good to release as a patch or minor.

@aladdin-add aladdin-add merged commit f65ca8b into eslint-community:master Jun 9, 2022
@rosskevin rosskevin deleted the ts-no-missing-imports branch June 10, 2022 15:22
JoshuaKGoldberg added a commit to JoshuaKGoldberg/create-typescript-app that referenced this pull request Sep 21, 2023
## PR Checklist

- [x] Addresses an existing open issue: fixes #864; fixes #866
- [x] That issue was marked as [`status: accepting
prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22)
- [x] Steps in
[CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md)
were taken

## Overview

Adds:

- `--exclude-lint-deprecation`
- `--exclude-lint-eslint`
- `--exclude-lint-jsdoc`
- `--exclude-lint-regex`
- `--exclude-lint-strict`
- `--exclude-lint-stylistic`

Assorted cleanups:

* Removes `eslint-config-prettier` since I believe none of the
recommended configs include rules impacted by it (yay!)
* Removes `eslint-plugin-import` as TypeScript's `"moduleResolution":
"NodeNext"` will report on a missing file extension in an import
* As of eslint-community/eslint-plugin-n#24 I
don't think `n/no-missing-import` is buggy enough to need to be disabled
* eslint-community/eslint-plugin-n#84 is still
in effect, but this template doesn't use `paths`.
* Removes the ESLint config comment now that most users are on a simpler
"common" config
* Finally add some high-level unit testing for `createESLintRC` to help
validate the changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

n/no-missing-import does not recognize acceptable extensions from typescript files

2 participants