
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@opuscapita/eslint-config-opuscapita-bnapp
Advanced tools
OpusCapita Eslint andariel config, following our styleguide
This package is created for andariel services for same eslint settings in services.
Use consistency style for all andariel services.
This eslint-config package handles node.js
+ browser
+ React
and Typescript
.
Requires node >= 12.x
Open andariel service
Just put to CLI:
npm i --save-dev eslint@8.20 @opuscapita/eslint-config-opuscapita-bnapp@latest
npm i --save-dev @babel/core@^7.18.9 @babel/preset-env@^7.18.9 @babel/eslint-parser@^7.18.9
npm i --save-dev eslint-plugin-react@^7.32.2 eslint-plugin-react-hooks@^4.6.0 @babel/preset-react@^7.18.6
npm i --save-dev @typescript-eslint/eslint-plugin@^5.41.0 @typescript-eslint/parser@^5.41.0
npm uninstall @opuscapita/eslint-config
npm uninstall eslint-config-opuscapita
create .eslintrc
file and paste it:
{
"extends": ["@opuscapita/opuscapita-bnapp"]
}
npx eslint src --ext .js,.jsx
- check .js and .jsx files with eslint (src = folderName)
npx eslint src --ext .js,.jsx,.ts,.tsx
- check also .ts and .tsx files with eslint (src = folderName)
npx eslint src --ext .js,.jsx --fix
- check & fix(overwrite) .js and .jsx files with eslint
npx eslint src --ext .js,.jsx,.ts,.tsx --fix
- check & fix(overwrite) also .ts and .tsx files with eslint
remmember to check and test changes!
install Eslint >= 2.2.6
in settings.json
set
"eslint.workingDirectories": [{ "mode": "auto" }],
"eslint.runtime": "",
"eslint.alwaysShowStatus": true,
"eslint.debug": true,
"eslint.format.enable": true,
"eslint.lintTask.enable": true,
"eslint.nodeEnv": "",
"eslint.useESLintClass": true,
"eslint.onIgnoredFiles": "warn",
"eslint.execArgv": null,
"eslint.validate": [
"javascript",
"javascriptreact",
]
rule handling:
2 = "error"
1 = "warning"
0 = "off"
This repo is inspired by the OpusCapita/eslint-config
FAQs
OpusCapita Eslint andariel config, following our styleguide
The npm package @opuscapita/eslint-config-opuscapita-bnapp receives a total of 111 weekly downloads. As such, @opuscapita/eslint-config-opuscapita-bnapp popularity was classified as not popular.
We found that @opuscapita/eslint-config-opuscapita-bnapp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.