5.1.0 • Published 4 years ago

@geekality/eslint-config v5.1.0

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
4 years ago

@opf/eslint-config

Installation

  1. Install:
npm install --save-dev eslint @opf/eslint-config
  1. Add the following to package.json:
{
  "scripts": {
    "fix:scripts": "eslint --ignore-path .lintignore --cache --fix \"**/*.{ts,tsx,js,jsx,json}\"",
    "lint:scripts": "eslint --ignore-path .lintignore --max-warnings 0 --cache \"**/*.{ts,tsx,js,jsx,json}\""
  },
  "eslint": {
    "extends": "@opf/eslint-config",
    "parserOptions": {
      "project": "./tsconfig.json"
    }
  }
}
  1. Add the following to .lintignore, adjusted as needed:
package-lock.json
build/