Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 18, 2023. It is now read-only.

A series of lint rules for best practices with Custom Elements

License

NotificationsYou must be signed in to change notification settings

github/eslint-plugin-custom-elements

 
 

This is an ESLint Plugin to help provide best practices for writing Custom Elements aka Web Components. It provides a set of custom rules which can be enforced for files that declare classes that extend from HTMLElement.

Installation

$ npm install --save-dev eslint eslint-plugin-custom-elements

Setup

Addcustom-elements to your list of plugins in your ESLint config, andplugin:custom-elements/recommended to theextends array.

JSON ESLint config example:

{"plugins": ["github"],"extends": ["plugin:custom-elements/recommended"]}

Rules

About

A series of lint rules for best practices with Custom Elements

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors10


[8]ページ先頭

©2009-2025 Movatter.jp