Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
github.com/hansrobo/ssl_gui_test
frontend
ディレクトリに移動します:
cd frontend
依存関係をインストールします:
npm install
開発サーバーを起動します:
npm run serve
ESLintを使用してコードをチェックします:
npm run lint
backend
ディレクトリに移動します:
cd backend
依存関係をインストールします:
go mod tidy
バックエンドサーバーを起動します:
go run main.go
GolangCI-Lintを使用してコードをチェックします:
golangci-lint run
http://localhost:8080
にアクセスします。F1
キーを押して、Remote-Containers: Open Folder in Container...
を選択します。frontend
ディレクトリに移動します:
cd frontend
Huskyをインストールします:
npx husky install
Pre-commitフックを設定します:
npx husky add .husky/pre-commit "npm run lint"
.github/workflows/lint.yml
ファイルを作成し、以下の内容を追加します:
name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Run ESLint
run: npm run lint
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.