Skip to content

Iannes/zero-config-typescript-eslint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Add TypeScript, ESLint and prettier to your project

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •