eslint-config-diner
v1.0.7
Published
ESLint config created by Diner Ismail for React projects with Typescript
Downloads
2
Readme
eslint-config-diner
The ESLint configuration I use for my React Typescript side projects. This does not include configuration for Prettier, Stylelint and others which has to be installed and configured separately.
Installation
npm i --save-dev eslint eslint-config-diner
# or if you're using yarn
yarn add -D eslint eslint-config-diner
Usage
In your .eslintrc
file you can extend like this
module.exports = {
extends: ["diner"],
};
What's included
typescript-eslint/eslint-plugin
: Powerful linting rules for Typescripteslint-plugin-import
: auto import sorting and groupingeslint-plugin-promise
: Enforce best practices for using Promises.eslint-plugin-react
andeslint-plugin-react-hooks
: React-specific lint rules