Skip to content

malwareowl/eslint-plugin-lit

 
 

Repository files navigation

eslint-plugin-lit

npm version Build Status Coverage Status

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"
  }
}

Configuration

You may also extend the recommended configuration like so:

{
  "extends": ["plugin:lit/recommended"],
  "env": {"browser": true}
}

Supported Rules

About

lit-html support for ESLint

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%