Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@little-core-labs/eslint-config-12core
Advanced tools
A shareable eslint config for 12core projects.
npm i @little-core-labs/eslint-config-12core eslint --save-dev
Then create an .eslintrc.json
file in the root of your directory:
{
"extends": "@little-core-labs/eslint-config-12core"
}
Then run eslint on whatever code you want to lint:
eslint --ext .js esm/
Make the linting step part of your testing script.
@little-core-labs/eslint-config-12core
bundles standard + standard-jsx with additional consutomizations that work for all of us at little-core-labs.
Because we control the shareable config, the normally peer-dependent eslint plugins are actually included as transient dependencies, so that usage of this config is a lot more convenient (only 2 deps, instead if 5+).
If you would like to make rule changes, please submit a PR with some discussion with rational.
You should use an editor plugin so that you can see the warnings while working, and take advantage of auto formatting:
... please PR notes you have!
If you want to use the standard react plugin, follow these steps:
npm i @little-core-labs/eslint-config-12core eslint babel-eslint eslint-config-standard-react --save-dev
Create a .eslintrc.json
with the following.
{
"parser": "babel-eslint",
"extends": ["@little-core-labs/eslint-config-12core", "standard-react"]
}
eslint --ext .js esm/
FAQs
12Core Shareable eslint config
We found that @little-core-labs/eslint-config-12core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.