Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
eslint-config-springload
Advanced tools
Springload's ESLint shareable configuration. Based on
eslint-config-airbnb
, but laxer.
Install the config and its dependencies:
npm install --save-exact --save-dev eslint@3 eslint-config-springload eslint-plugin-import@~2.2.0 eslint-plugin-jsx-a11y@~3.0.2 eslint-plugin-react@~6.10.3
Configure ESLint to use this config. For example, in your package.json, this would be:
"eslintConfig": {
"extends": "springload"
},
git clone git@github.com:springload/eslint-config-springload.git
cd eslint-config-springload
nvm install
# Then, install all project dependencies.
npm install
# Install the git hooks.
./.githooks/deploy
# Runs linting.
npm run lint
# Runs tests.
npm run test
This project follows Semantic Versioning as well as ESLint's Semantic Versioning Policy.
# 1. Make a new branch for the release of the new version.
git chore release-vx.y.z
# 2. Update the version in package.json
# 3. Use irish-pub to check the package content. Install with `npm install -g` first.
irish-pub
# 4. Update the [CHANGELOG](CHANGELOG.md) for the upcoming release.
# 5. Update the README with the right install command. Use the next command to find out what those are.
npm info eslint-config-springload@latest peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g'
# 6. Create a PR and merge it.
# 7. On master,
npm publish
# 8. Finally, go to GitHub and create a release and a tag for the new version.
FAQs
Springload's ESLint shareable configuration
We found that eslint-config-springload demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.