Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 1.11 KB

README.md

File metadata and controls

60 lines (44 loc) · 1.11 KB

ESLint config for 🍷Lab🍷

This config is supposed to work with XO or eslint-config-xo.

Features

Install

yarn add -D eslint-config-lab
# OR: npm install -D eslint eslint-config-lab

Usage

In ESLint:

/* package.json */
{
  "eslintConfig": {
    "extends": ["xo/esnext", "lab"]
  }
}

Or in XO:

/* package.json */
{
  "xo": {
    "extends": "lab"
  }
}

Lint code blocks in markdown

It uses eslint-plugin-markdown:

{
  "xo": {
    "extensions": ["md"]
  }
}

License

MIT

Copyright (c) 2018-present, ULIVZ & SHERRY