This zero-config CLI is intended for React projects that are meant to add TypeScript & ESLint support.
You will need to install the following VS Code plugins:
- Prettier for VS Code
- ESLint for VS Code
All features are optional, you choose what you want to add 👌
- Adds a
tscofig.json
file - Adds an
.eslintrc.json
file - Adds a
.vscode
folder withautosave
feature - Adds
.prettierrc
file
The CLI will add the following dev dependencies to your project:
- prettier
- eslint
- typescript
- eslint-config-prettier
- eslint-plugin-prettier
- @typescript-eslint/parser
- @types/classnames
- @types/node
- @types/react
- @types/react-dom
- @types/react-helmet
- @typescript-eslint/eslint-plugin
Run the following command to start the CLI:
npx zero-config-ts-eslint
This project assumes that your project is built with Gatsby