All Projects → 43081j → eslint-plugin-lit

43081j / eslint-plugin-lit

Licence: other
lit-html support for ESLint

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to eslint-plugin-lit

fullcalendar-calendar
Web Component wrapper for FullCalendar
Stars: ✭ 21 (-76.67%)
Mutual labels:  polymer, web-components
Gwt Polymer Elements
Polymer Web Components for GWT. A collection of Material Design widgets for desktop and mobile.
Stars: ✭ 153 (+70%)
Mutual labels:  polymer, web-components
Polydev
Automatic web components profiling in chrome devtools
Stars: ✭ 118 (+31.11%)
Mutual labels:  polymer, web-components
Gulp Vulcanize
Concatenate a set of Web Components into one file
Stars: ✭ 101 (+12.22%)
Mutual labels:  polymer, web-components
ibm-toolbar
Horizontal toolbar containing items that can be used for label, navigation, search and actions
Stars: ✭ 18 (-80%)
Mutual labels:  polymer, web-components
Polymer Build
Moved to Polymer/tools monorepo
Stars: ✭ 107 (+18.89%)
Mutual labels:  polymer, web-components
page-title
A Polymer element for easily updating a webpage's title, such as in a SPA.
Stars: ✭ 13 (-85.56%)
Mutual labels:  polymer, web-components
Vaadin Charts
Vaadin Charts is a feature-rich interactive graph library that answers the data visualization needs of modern web applications
Stars: ✭ 47 (-47.78%)
Mutual labels:  polymer, web-components
Polyserve
Moved to Polymer/tools monorepo
Stars: ✭ 194 (+115.56%)
Mutual labels:  polymer, web-components
Polymer Skeleton
💀 Skeleton for Polymer 3 app with Webpack, PostCSS and Service Workers ready.
Stars: ✭ 185 (+105.56%)
Mutual labels:  polymer, web-components
Polymer Bundler
Moved to Polymer/tools monorepo
Stars: ✭ 1,206 (+1240%)
Mutual labels:  polymer, web-components
mc-viewer
🌐🏠 A Web Component for visualizing Minecraft schematics
Stars: ✭ 25 (-72.22%)
Mutual labels:  polymer, web-components
Flip Clock
A flip clock, timer and countdown made with Polymer
Stars: ✭ 69 (-23.33%)
Mutual labels:  polymer, web-components
Hot Table
Handsontable - Best Data Grid Web Component with Spreadsheet Look and Feel.
Stars: ✭ 114 (+26.67%)
Mutual labels:  polymer, web-components
L2t Paper Slider
Polymer element for displaying slides in a carousel
Stars: ✭ 53 (-41.11%)
Mutual labels:  polymer, web-components
Cleverstyle Framework
CleverStyle Framework is simple, scalable, fast and secure full-stack PHP framework
Stars: ✭ 150 (+66.67%)
Mutual labels:  polymer, web-components
Paper Timezone
Polymer based timezone selection component
Stars: ✭ 19 (-78.89%)
Mutual labels:  polymer, web-components
Contactlab Ui Components
DEPRECATED - Basic UI components for ContactLab UX design pattern library
Stars: ✭ 31 (-65.56%)
Mutual labels:  polymer, web-components
Polymer Analyzer
Moved to Polymer/tools monorepo
Stars: ✭ 162 (+80%)
Mutual labels:  polymer, web-components
Storybook
📓 The UI component explorer. Develop, document, & test React, Vue, Angular, Web Components, Ember, Svelte & more!
Stars: ✭ 67,445 (+74838.89%)
Mutual labels:  polymer, web-components
Eslint + Lit

eslint-plugin-lit

npm version Build Status Coverage Status License: MIT

ESLint plugin for Lit.

Install

Assuming you already have ESLint installed, run:

# npm
npm install eslint-plugin-lit --save-dev

# yarn
yarn add eslint-plugin-lit --dev

Usage

Then extend the recommended eslint config:

{
  "extends": [
    // ...
    "plugin:lit/recommended"
  ]
}

Custom Configuration

If you want more fine-grained configuration, you can instead add a snippet like this to your ESLint configuration file:

{
  "plugins": [
    // ...
    "lit"
  ],
  "rules": {
    // ...
    "lit/no-legacy-template-syntax": "error",
    "lit/no-template-arrow": "warn"
  }
}

List of supported rules

Shareable configurations

Recommended

This plugin exports a recommended configuration that enforces Lit good practices.

To enable this configuration use the extends property in your .eslintrc config file:

{
  "extends": ["eslint:recommended", "plugin:lit/recommended"]
}

Usage with eslint-plugin-wc

We highly recommend you also depend on eslint-plugin-wc as it will provide additional rules for web components in general:

npm i -D eslint-plugin-wc

Then extend the recommended eslint config:

{
  "extends": [
    "plugin:wc/recommended",
    "plugin:lit/recommended"
  ]
}

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].