1.1.1 • Published 2 years ago

@eulerxyz/eslint-config v1.1.1

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

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"
  }
}