@mintlify/eslint-config-typescript-react
v1.0.2
Published
Mintlify shared eslint config (typescript + react)
Downloads
628
Keywords
Readme
Shared ESLint configuration (typescript + react)
ESLint is used for code linting.
Add Dependencies
Install this package and peerDependencies of this package as devDependencies in the project, using install-peerdeps.
npx install-peerdeps --dev @mintlify/eslint-config-typescript-react
Alternatively, you can install this package as devDependency and install the peerDependencies separately.
# yarn
yarn add -D @mintlify/eslint-config-typescript-react
# npm
npm i -D @mintlify/eslint-config-typescript-react
# pnpm
pnpm add -D @mintlify/eslint-config-typescript-react
Add Configuration File
Create a .eslintrc.json
file in the project root that extends this package.
{
"extends": "@mintlify/eslint-config-typescript-react",
...
}