@motech-development/eslint-config-motech-react
v6.0.0
Published
Reusable ESLint config for React apps
Readme
Motech Development ESLint config for React apps
Reusable ESLint config
Installation
- Install
@motech-development/eslint-config-motech-reactas a development dependency.
# Yarn
yarn add -D @motech-development/eslint-config-motech-react
# NPM
npm i -D @motech-development/eslint-config-motech-react- Extend your ESLint config.
import config from '@motech-development/eslint-config-motech-react';
import { defineConfig } from 'eslint/config';
export default defineConfig(config);- Configure TypeScript by ensuring there is a
tsconfig.jsonfile in your project.
