Skip to content

landbot-org/eslint-config

Repository files navigation

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');