1.0.0 • Published 5 years ago

@blueberrypie/eslint-config v1.0.0

Weekly downloads
129
License
MIT
Repository
github
Last release
5 years ago

@blueberrypie/eslint-config

Installation

  1. Install:
npm install --save-dev eslint @blueberrypie/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": "@blueberrypie/eslint-config",
    "parserOptions": {
      "project": "./tsconfig.json"
    }
  }
}
  1. Add the following to .lintignore, adjusted as needed:
package-lock.json
build/