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.
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.
{
"extends": ["@yagrrusso/eslint-config/html"]
// "extends": ["@yagrrusso/eslint-config/react"]
// "extends": ["@yagrrusso/eslint-config/node"]
}
3- Instale a extensão do ESLint no seu VSCode.
4- Configure o ESLint no seu VSCode no arquivo settings.json
.
{
"eslint.format.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
Importe um dos presets da lista abaixo para o seu projeto.
Bibliotecas utilizadas nas configurações para HTML:
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.