Gathering detailed insights and metrics for eslint-plugin-custom-elements
Gathering detailed insights and metrics for eslint-plugin-custom-elements
Gathering detailed insights and metrics for eslint-plugin-custom-elements
Gathering detailed insights and metrics for eslint-plugin-custom-elements
npm install eslint-plugin-custom-elements
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
58 Stars
220 Commits
12 Forks
144 Watching
2 Branches
3,725 Contributors
Updated on 31 Jul 2024
JavaScript (98.83%)
Dockerfile (1.17%)
Cumulative downloads
Total Downloads
Last day
7.1%
211
Compared to previous day
Last week
1.2%
1,137
Compared to previous week
Last month
-16.9%
5,241
Compared to previous month
Last year
-27.8%
145,424
Compared to previous year
[!WARNING]
This project has been merged with eslint-plugin-wc. Please head there for updates and maintenance.
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.
Node 14.x
1$ npm install --save-dev eslint eslint-plugin-custom-elements
Add custom-elements
to your list of plugins in your ESLint config, and enable the rules you want or just add plugin:custom-elements/recommended
to the extends
array.
JSON ESLint config example:
1{ 2 "extends": ["plugin:custom-elements/recommended"] 3}
npm install
npm test
Distributed under the MIT license. See LICENSE for details.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
4 existing vulnerabilities detected
Details
Reason
Found 9/16 approved changesets -- score normalized to 5
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
project is archived
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More