Gathering detailed insights and metrics for @studiometa/prettier-formatter-gitlab
Gathering detailed insights and metrics for @studiometa/prettier-formatter-gitlab
Gathering detailed insights and metrics for @studiometa/prettier-formatter-gitlab
Gathering detailed insights and metrics for @studiometa/prettier-formatter-gitlab
npm install @studiometa/prettier-formatter-gitlab
Typescript
Module System
Node Version
NPM Version
60.9
Supply Chain
79.2
Quality
87.1
Maintenance
100
Vulnerability
98.9
License
JavaScript (100%)
Total Downloads
96,889
Last Day
26
Last Week
776
Last Month
5,846
Last Year
44,394
3 Stars
125 Commits
2 Forks
7 Watching
6 Branches
2 Contributors
Latest Version
2.1.0
Package Id
@studiometa/prettier-formatter-gitlab@2.1.0
Unpacked Size
16.46 kB
Size
5.53 kB
File Count
11
NPM Version
10.8.2
Node Version
20.18.1
Publised On
12 Dec 2024
Cumulative downloads
Total Downloads
Last day
-89.8%
26
Compared to previous day
Last week
-44.9%
776
Compared to previous week
Last month
-11.8%
5,846
Compared to previous month
Last year
42.3%
44,394
Compared to previous year
4
1
Send Prettier errors to Gitlab's Code Quality reports.
Install the package with NPM:
1npm install -D @studiometa/prettier-formatter-gitlab
Prettier does not have an option for custom reporter, this package will run a prettier CLI command for you and parse its result to generate the Code Quality report.
1prettier-formatter-gitlab 'prettier -l src/'
The report file path will be read from the PRETTIER_CODE_QUALITY_REPORT
environment variable or from the .gitlab-ci.yml
configuration file when using the code quality report artifacts:
1# .gitlab-ci.yml 2prettier: 3 image: node:20 4 script: 5 - npm ci 6 - npx prettier-formatter-gitlab 'prettier -l src/' 7 artifacts: 8 reports: 9 codequality: gl-codequality.json
This project is heavily inspired and borrows some function to the eslint-formatter-gitlab
package.
No vulnerabilities found.
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
2 existing vulnerabilities detected
Details
Reason
Found 0/13 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-12-16
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