0.1.2-alpha.1 • Published 1 year ago

@avolantis/eslint-config v0.1.2-alpha.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@avolantis/eslint-config

npm

Shared configuration for eslint. Use this preset as a base for javascript projects.

Install

Run the following commands using pnpm at your project root:

pnpm add -D eslint prettier @avolantis/eslint-config @avolantis/prettier-config

Use -WD instead, if running in a workspace root

Create an .eslintrc.{js,json,yml,yaml} file (preferably at workspace root):

# .eslintrc.yaml
root: true
extends: @avolantis/eslint-config

Then modify your package.json (at workspace root):

{
  "scrips": {
    "lint": "eslint --fix ."
  },
  "prettier": "@avolantis/prettier-config"
}