JSPM

  • Created
  • Published
  • Downloads 84019
  • Score
    100M100P100Q152244F
  • License MIT

lit-html support for ESLint

Package Exports

  • eslint-plugin-lit

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-plugin-lit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eslint-plugin-lit

lit-html support for ESLint.

Note: experimental, may change quite a bit.

Install

$ npm i -D eslint eslint-plugin-lit

Usage

Add lit to the plugins section of your .eslintrc file:

{
  "plugins": [
    "lit"
  ]
}

Configure your rules like so:

{
  "rules": {
    "lit/rule-name": "error"
  }
}

Supported Rules