google / google/gts

feat: Option to add configuration to `package.json` rather than separate files

Open
#727 0 comments 0 reactions 0 assignees View on GitHub
type: feature request
Dominant language
TypeScript
Stars
5.3k
Forks
212
PR merge metrics
No merged PRs in 30d

Description

It would be nice if `gts` had the ability to add configuration to `package.json` rather than separate files. This can help users keep their top-level directories tidy. For example, the following files can be moved into `package.json`:

- `.eslintrc.json` -> `eslintConfig`
- `.eslintignore` -> `eslintIgnore`
- `.prettierrc.js` -> `prettier`

Here's an example: https://github.com/danielbankhead/picture-playlist/blob/37d3d9db31042afab63294c6b196865d25cecd27/package.json

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.