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.
@yagrrusso/eslint-config
Advanced tools
Configuração de ESLint para trabalhar com Javascript/Typescript.
1- Instale o pacote no seu projeto como dependência de desenvolvimento.
npm i -D eslint @yagrrusso/eslint-config
2- Crie um arquivo .eslintrc.json
na raiz do seu projeto e extenda algum preset ESLint da biblioteca.
{
// .eslintrc.json
"extends": ["@yagrrusso/eslint-config/[react|node]"]
}
3- Instale a extensão do ESLint no seu VSCode.
4- Configure o ESLint no seu VSCode no arquivo de configurações do usuário settings.json
.
{
// settings.json
"editor.tabSize": 2,
"eslint.format.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
}
Importe um dos presets da lista abaixo para o seu projeto.
Bibliotecas utilizadas nas configurações para React:
Bibliotecas utilizadas nas configurações para Node:
FAQs
ESLint config for Javascript/Typescript projects
The npm package @yagrrusso/eslint-config receives a total of 0 weekly downloads. As such, @yagrrusso/eslint-config popularity was classified as not popular.
We found that @yagrrusso/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
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.