Installations
npm install eslint-plugin-moment-utc
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
>=0.10.0
Node Version
18.18.1
NPM Version
9.8.1
Score
76.1
Supply Chain
79.8
Quality
75.9
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
wunderflats
Download Statistics
Total Downloads
301,258
Last Day
70
Last Week
876
Last Month
16,817
Last Year
97,757
GitHub Statistics
2 Stars
9 Commits
2 Watching
3 Branches
2 Contributors
Bundle Size
1.00 kB
Minified
563.00 B
Minified + Gzipped
Package Meta Information
Latest Version
2.0.0
Package Id
eslint-plugin-moment-utc@2.0.0
Unpacked Size
16.68 kB
Size
5.87 kB
File Count
7
NPM Version
9.8.1
Node Version
18.18.1
Publised On
07 Jun 2024
Total Downloads
Cumulative downloads
Total Downloads
301,258
Last day
-73.8%
70
Compared to previous day
Last week
-68%
876
Compared to previous week
Last month
75.4%
16,817
Compared to previous month
Last year
114.4%
97,757
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
eslint-plugin-moment-utc
This is an ESLint plugin to prevent the usage of localtime.
Installation
You'll first need to install ESLint:
1npm i eslint --save-dev
Next, install eslint-plugin-moment-utc
:
1npm install eslint-plugin-moment-utc --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must
also install eslint-plugin-moment-utc
globally.
Usage
Add utc
to the plugins section of your .eslintrc
configuration file. You can
omit the eslint-plugin-
prefix:
1{ 2 "plugins": [ 3 "moment-utc" 4 ] 5}
Then configure the rules you want to use under the rules section.
1{ 2 "rules": { 3 "moment-utc/no-moment-without-utc": 2 4 } 5}
Supported Rules
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0
Reason
Found 1/6 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 5 are checked with a SAST tool
Score
3.2
/10
Last Scanned on 2025-01-06
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