0.1.0 • Published 9 months ago

@blinkk/eslint-config-root v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

ESLint config for Root.js projects

Setup

Install deps:

yarn add eslint prettier typescript
yarn add -D @blinkk/eslint-config-root

Add eslint config file .eslintrc.json:

{
  "extends": [
    "@blinkk/root"
  ]
}

Add .eslintignore:

node_modules/
build/
dist/

Add scripts to package.json:

{
  "scripts": {
    "lint": "eslint . --ext .ts,.tsx",
    "fix": "eslint . --ext .ts,.tsx --fix"
  }
}