Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 503 Bytes

README.md

File metadata and controls

34 lines (29 loc) · 503 Bytes

Installation

yarn add @yrlish/eslint-config

Requirements

TypeScript

yarn add eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin

React

In addition to above

yarn add eslint-plugin-react

Configuration

TypeScript

{
  "extends": "@yrlish/eslint-config/typescript",
  "parser": "@typescript-eslint/parser"
}

React with TypeScript

{
  "extends": "@yrlish/eslint-config/react",
  "parser": "@typescript-eslint/parser"
}