2.1.2 • Published 4 months ago
@landbot/eslint-config-typescript-react v2.1.2
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');