0.1.1 • Published 12 months ago

@oncoursesystems/eslint-config-base v0.1.1

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

@oncoursesystems/eslint-config-base

OnCourse Systems' base ESLint configuration and rules for JS, JSON, YAML, and Markdown.

Installation

With npm:

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

Or using yarn:

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

Setup

Create an .eslintrc.js file with the following:

extends: ['@oncoursesystems/eslint-config-base']

Usage

Add the following script to your package.json:

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

and run the linter with:

yarn lint