Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
eslint-config-supermind
Advanced tools
Install yarn globally:
npm install yarn --global
Add eslint
and eslint-config-supermind
as a devDependency
to your project:
yarn add eslint eslint-config-supermind --dev
Create an .eslintrc.js
file at the root of your project and add the following configuration:
module.exports = {
root: true, // Prevent ESLint from inheriting configuration above this file
extends: [
'supermind', // Extend base config
'supermind/react', // Extend react config (optional)
'supermind/inferno', // Extend inferno config (optional)
'supermind/jsx-a11y', // Extend jsx-a11y config (optional)
'supermind/flowtype' // Extend flowtype config (optional)
]
}
Add a lint
script in your project package.json
file:
{
"name": "kitten-socks",
"scripts": {
"lint": "eslint source"
}
}
To lint the source
directory of your project run:
yarn run lint
To ensure that all available rules are specified throughout the config files run:
yarn run list-omitted-rules
FAQs
Supermind's ESLint configuration
The npm package eslint-config-supermind receives a total of 33 weekly downloads. As such, eslint-config-supermind popularity was classified as not popular.
We found that eslint-config-supermind 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.