Installations
npm install @studiometa/prettier-config
Developer Guide
Typescript
Yes
Module System
ESM
Node Version
20.13.1
NPM Version
10.5.2
Score
41.1
Supply Chain
69.8
Quality
74.9
Maintenance
25
Vulnerability
98.2
License
Releases
Contributors
Languages
JavaScript (84.76%)
Twig (15.24%)
Developer
studiometa
Download Statistics
Total Downloads
32,424
Last Day
8
Last Week
158
Last Month
787
Last Year
10,605
GitHub Statistics
1 Stars
53 Commits
13 Watching
9 Branches
16 Contributors
Bundle Size
668.00 B
Minified
412.00 B
Minified + Gzipped
Package Meta Information
Latest Version
4.1.0
Package Id
@studiometa/prettier-config@4.1.0
Unpacked Size
7.96 kB
Size
3.77 kB
File Count
13
NPM Version
10.5.2
Node Version
20.13.1
Publised On
31 May 2024
Total Downloads
Cumulative downloads
Total Downloads
32,424
Last day
100%
8
Compared to previous day
Last week
-2.5%
158
Compared to previous week
Last month
-50.8%
787
Compared to previous month
Last year
104.3%
10,605
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Peer Dependencies
1
Dev Dependencies
3
Prettier configuration
Studio Meta's favorite Prettier configuration to be used across projects.
Installation
Install the package with NPM:
1$ npm install --save-dev prettier @studiometa/prettier-config
Usage
Create a .prettierrc.js
file in the root of your project with the following:
1module.exports = require('@studiometa/prettier-config');
Contributing
This project uses Git Flow as a branching model, new feature will be added by pull-requests of feature/
branches against develop
.
The JS files are linted with ESLint and Prettier. You can check for linting errors before your commits by running the following scripts with Yarn:
1$ yarn lint # Check for linting errors 2$ yarn fix # Fix the fixable linting errors
Or with NPM:
1$ npm run lint # Check for linting errors 2$ npm run fix # Fix the fixable linting errors
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
- Info: no jobLevel write permissions found
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/9 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/studiometa/prettier-config/release.yml/develop?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/studiometa/prettier-config/release.yml/develop?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/studiometa/prettier-config/release.yml/develop?enable=pin
- Info: 0 out of 3 GitHub-owned GitHubAction dependencies pinned
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 'develop'
- 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 28 are checked with a SAST tool
Reason
13 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
Score
2.5
/10
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