
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@digital-wafa/eslint-config
Advanced tools
A shared eslint configuration to use in digital wafa projects
npm install @digital-wafa/eslint-config --save-dev
It highly recommend extending the base config if you are using create-react-app
if you don't skip this config :
{
"extends": ["react-app"]
}
Add this config to your .eslintrc
:
{
"extends": [
"@digital-wafa/eslint-config"
],
"rules": {
/* custom rules */
}
}
This config also exposes a few other configs that I use often and pull in as needed.
You can use them standalone:
{
"extends": [
"@digital-wafa/eslint-config/<config-name>",
]
}
Or in combination with the base config (recommended)
{
"extends": [
"@digital-wafa/eslint-config",
"@digital-wafa/eslint-config/<config-name>",
]
}
{
"extends": [
"@digital-wafa/eslint-config",
"@digital-wafa/eslint-config/react",
"@digital-wafa/eslint-config/typescript"
],
"rules": {
/* custom rules */
},
}
When working with TypeScript
, you'll need to provide an overrides object for rules that should only target TypeScript files.
{
/* your base config */
"overrides": [
{
"files": [
"**/*.ts?(x)"
],
"rules": {
/* custom rules */
}
}
]
}
You can add two scripts to your package.json to lint and/or fix:
{
"scripts": {
"lint": "eslint ./src/*",
"lint:fix": "eslint ./src/* --fix"
},
}
Tip: You can alternatively put this object in your package.json
under the property "eslintConfig":
. This makes one less file in your project.
FAQs
eslint configuration
We found that @digital-wafa/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.