zero-config-ts-eslint

1.2.3 • Public • Published

Zero Config TS Eslint Prettier

This zero-config CLI is intended for React projects that are meant to add TypeScript & ESLint support.

Prerequisites

You will need to install the following VS Code plugins:

  • Prettier for VS Code
  • ESLint for VS Code

Features

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 with autosave feature
  • Adds .prettierrc file

Dependencies

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

Installation

Run the following command to start the CLI:

npx zero-config-ts-eslint

Assumptions

This project assumes that your project is built with Gatsby

Package Sidebar

Install

npm i zero-config-ts-eslint

Weekly Downloads

0

Version

1.2.3

License

MIT

Unpacked Size

10.5 kB

Total Files

20

Last publish

Collaborators

  • iannes