JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 27
  • Score
    100M100P100Q29099F
  • License MIT

eslint config for lab

Package Exports

  • eslint-config-lab

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-lab) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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