
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@jcamp/eslint-config
Advanced tools
This is my personal ESLint Config.
It extends @antfu's eslint-config.
It starts with his vue config and makes these changes:
Note v2.0.0 is a breaking change, requires adjusting your setup.
For more eslint config details, see @antfu/eslint-config
pnpm add -D eslint prettier @antfu/eslint-config @jcamp/eslint-config
eslint.config.js
import { jcamp } from '@jcamp/eslint-config'
export default jcamp(
// antfu options
{},
// additional rules to add
{},
// ignores
{
ignores: ['temp.js', '**/vendor/*.js'],
},
)
.eslintignore
is no longer supported by eslint flatconfig.
.prettierrc.js
import { prettier } from '@jcamp/eslint-config'
export default {
...prettier,
/* make any changes here */
singleAttributePerLine: false,
}
For example:
{
"scripts": {
"lint": "eslint .",
"fix": "eslint . --fix",
"format": "prettier . --check",
"clean": "prettier . --write"
}
}
Create .vscode/settings.json
{
"prettier.enable": true,
// Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "never"
}
}
MIT License © 2023-PRESENT John Campion
FAQs
JohnCampionJr's ESLint config
The npm package @jcamp/eslint-config receives a total of 62 weekly downloads. As such, @jcamp/eslint-config popularity was classified as not popular.
We found that @jcamp/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.