Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
static-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6.0.2

- name: Enable Corepack
run: corepack enable

- uses: actions/setup-node@v6
- uses: actions/setup-node@v6.3.0
with:
node-version: '22'
cache: 'yarn'
Expand Down
5 changes: 3 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
defaultSemverRangePrefix: ''

nodeLinker: node-modules
enableScripts: false
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Setting enableScripts: false disables the postinstall script in package.json, which prevents husky from automatically setting up git hooks for developers. This means the precommit hook (which runs codestyle) will not be initialized on fresh installs. If this is a deliberate security choice, consider documenting a manual setup step for contributors (e.g., running yarn husky manually).


yarnPath: .yarn/releases/yarn-4.10.3.cjs
nodeLinker: node-modules

enableScripts: false
npmMinimalAgeGate: 10080
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

An npmMinimalAgeGate of 7 days (10080 minutes) is exceptionally restrictive. While it provides a buffer against malicious new packages, it also prevents the team from installing critical security patches or urgent bug fixes for a full week after their release. A value of 1440 (24 hours) or 2880 (48 hours) is generally recommended to balance security with the ability to respond to vulnerabilities.

npmMinimalAgeGate: 1440

Loading