Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
eslint-sammy-preset
Advanced tools
Highly opinionated & React/JSX centric.
yarn add eslint eslint-sammy-preset --dev
or, if you use npm:
npm install eslint eslint-sammy-preset --save-dev
To the root of your project add the following two files:
module.exports = require('eslint-sammy-preset');
module.exports = require('eslint-sammy-preset/.prettierrc.recommended.js');
Add to your package.json "scripts" key (if doesn't exist, create):
"scripts": {
"lint": "\"./node_modules/.bin/eslint\" src --ext js,ts,tsx",
"lint:fix": "\"./node_modules/.bin/eslint\" src --ext js,ts,tsx --fix",
}
Run in your terminal
yarn lint
or, if you use npm:
npm run lint
To auto-fix your code formatting:
yarn lint:fix
or, if you use npm:
npm run lint:fix
FAQs
ESLint preset
We found that eslint-sammy-preset demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.