@novas/eslint-config
v0.0.4
Published
ESLint config for ESNext and TypeScript
Downloads
6
Readme
@novas/eslint-config
ESLint config for ES2021 and TypeScript
Installation
To use in your own custom configuration, install then extend this package in your ESLint config:
- Install dependencies
yarn add --dev @novas/eslint-config @babel/core @babel/eslint-parser @babel/eslint-plugin @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-react eslint-plugin-react-hooks typescript
Note: Due to the way ESLint overrides
work, Typescript devDependencies
are required regardless of whether you are using Typescript in your project.
- Configure ESLint
// .eslintrc
{
"extends": ["@novas/eslint-config"]
}