Skip to content

rich-lab/eslint-config-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ESLint config for 🍷Lab🍷

Resources

License

Stars

Watchers

Forks

Packages

No packages published