Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@spot-meetings/code-style
Advanced tools
Spot's Code Style configs (ESLint, Prettier).
Supports Node.js, TypeScript and React.
npm i -D @spot-meetings/code-style
yarn add -D @spot-meetings/code-style
/.eslintrc
{
"extends": "@spot-meetings/eslint-config/javascript"
}
/.prettierrc.js
module.exports = require('@spot-meetings/code-style/prettier')
/.eslintrc
{
"extends": "@spot-meetings/eslint-config/typescript"
}
/.prettierrc.js
module.exports = require('@spot-meetings/code-style/prettier')
After installation, you can run the setup script with:
$(yarn bin)/spot-setup-code-style
$(npm bin)/spot-setup-code-style
With TypeScript, you may have to update the project configuration to the parser options section of the ESLint config to point to the correct ./tsconfig.json
file:
{
"extends": "@spot-meetings/code-style/typescript",
"parserOptions": {
"project": "./tsconfig.json"
}
}
Add the ESLint and Prettier extensions and configure your formatter to use Prettier as default.
FAQs
Spot's Code Style guide (ESLint, Prettier)
The npm package @spot-meetings/code-style receives a total of 0 weekly downloads. As such, @spot-meetings/code-style popularity was classified as not popular.
We found that @spot-meetings/code-style demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.