@eulerxyz/eslint-config
v1.1.1
Published
A reusable config for ESLint.
Downloads
49
Keywords
Readme
ESLint Config
A reusable config for ESLint.
Getting Started
First, install the package and peer dependencies:
npx install-peerdeps -D @eulerxyz/eslint-config
For React projects, create a .eslintrc file in the root of your project and add:
{
"extends": "@eulerxyz/eslint-config",
"parserOptions": {
"project": "./tsconfig.json"
}
}
For Node projects, create a .eslintrc file in the root of your project and add:
{
"extends": "@eulerxyz/eslint-config/base",
"parserOptions": {
"project": "./tsconfig.json"
}
}