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.
@colepeters/eslint-config
Advanced tools
My preferred ESLint configuration. I use this configuration alongside Prettier, with the following configuration:
module.exports = {
jsxSingleQuote: true,
semi: false,
singleQuote: true,
trailingComma: 'es5',
}
The usage instructions below presume you want to use Prettier, too.
Install this package and dependencies via NPM:
npm i --save-dev eslint @colepeters/eslint-config prettier eslint-config-prettier
Create an ESLint configuration file in your project, with the following contents:
module.exports = {
'extends': ['@colepeters/eslint-config', 'prettier']
}
Excluding setup with your IDE, which is outside the scope of this readme, that’s it!
FAQs
My preferred ESLint configuration
We found that @colepeters/eslint-config 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 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.