2.1.2 • Published 4 months ago

@landbot/eslint-config-typescript-react v2.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

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