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.
@lambdaschool/eslint-config
Advanced tools
Eslint configuration options to be shared across internal projects
Eslint + Prettier configuration options to be shared across internal projects
npm i -D eslint @lambdaschool/eslint-config
echo 'module.exports = { extends: "@lambdaschool" };' > .eslintrc.js
echo "module.exports = require('@lambdaschool/eslint-config/.prettierrc.js');" > .prettierrc.js
npm i -D eslint @lambdaschool/eslint-config
echo 'module.exports = { extends: "@lambdaschool/eslint-config/react" };' > .eslintrc.js
echo "module.exports = require('@lambdaschool/eslint-config/.prettierrc.js');" > .prettierrc.js
npm i -D eslint @lambdaschool/eslint-config
echo 'module.exports = { extends: "@lambdaschool/eslint-config/typescript", parserOptions: { project: './tsconfig.json' } };' > .eslintrc.js
echo "module.exports = require('@lambdaschool/eslint-config/.prettierrc.js');" > .prettierrc.js
npm i
npm test
There are test files that various linting rules can be tried out on. When adding rules, add to these files or create new ones to verify that the linting behavior is as desired.
When ready to publish, follow these steps:
staging
branch.staging
branch into the master
branch. Typically the PR is named after the version that will be published, for example v2.1.0
.major
, minor
, or patch
.staging
branch locally, update the CHANGELOG.md
file with an entry for the new version you're about to publish and commit your changes.staging
branch locally, version the project using npm version <semver>
where <semver>
is major
, minor
, or patch
. For example: npm version patch
.git push
your local staging branch up to origin.FAQs
Eslint configuration options to be shared across internal projects
The npm package @lambdaschool/eslint-config receives a total of 19 weekly downloads. As such, @lambdaschool/eslint-config popularity was classified as not popular.
We found that @lambdaschool/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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.