0.1.1 • Published 12 months ago

@oncoursesystems/eslint-config-ts v0.1.1

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

@oncoursesystems/eslint-config-ts

OnCourse Systems' Typescript ESLint configuration and rules.

Installation

With npm:

npm install eslint @oncoursesystems/eslint-config-ts --save-dev

Or using yarn:

yarn add eslint @oncoursesystems/eslint-config-ts -D

Setup

Create an .eslintrc.js file with the following:

{
  "extends": ["@oncoursesystems/eslint-config-ts"]
}

Usage

Add the following script to your package.json:

{
  "scripts": {
    "lint": "eslint ."
  }
}

and run the linter with:

yarn lint