-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: much more ESLint config configurability (#867)
## 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
- Loading branch information
1 parent
cc0cbaf
commit 094b253
Showing
18 changed files
with
430 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.