1.0.2 • Published 2 years ago

@kevroadrunner/eslint-config v1.0.2

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

@kevroadrunner/eslint-config

My own ESLint config for Typescript.

Setup

1) Install dependencies

yarn add eslint @kevroadrunner/eslint-config --dev

2) Configure ESLint

Create or edit your ESLint config file. (e.g. .eslintrc)

{
  "root": true,
  "extends": "@kevroadrunner/eslint-config"
}

3) Add script

Add the ESLint script to your package.json file.

{
  "scripts": {
    "lint": "eslint \"src/**/*.ts\""
  }
}

4) Run linter

yarn add eslint @kevroadrunner/eslint-config --dev