Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
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
The npm package eslint-sammy-preset receives a total of 3 weekly downloads. As such, eslint-sammy-preset popularity was classified as not popular.
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.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.