Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 495 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 495 Bytes

ESLint and Prettier configuration

Installation

npm install --save-dev @landbot/eslint-config-typescript-react

Usage

Create a .eslintrc.js file in the root of your project with the following:

module.exports = {
  extends: ['@landbot/typescript-react'],
};

(Optional) For the prettier configuration, create a .prettierrc.js file in the root of your project:

module.exports = require('@landbot/eslint-config-typescript-react/prettier-config');