
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.
eslint-config-acast
Advanced tools
Shared ESLint config used at Acast. It combines recommended lint rules from a set of useful ESLint plugins, with modular configs that can be combined to suite the projects need.
Base:
React:
Typescript:
Jest:
npm install -D eslint-config-acast eslint prettier
Extend acast
and any extra config you need for your project in your eslintrc
file.
Available configs:
acast
acast/react
acast/typescript
acast/jest
Example:
// eslintrc.js
{
"extends": ["acast", "acast/react", "acast/typescript", "acast/jest"]
}
With everything setup, you can use the
ESLint CLI to lint your code. You can
run eslint --fix
to fix linting errors and warnings (including Prettier formatting rules).
Integrate ESLint with your Visual Studio Code by installing the ESLint plugin. After installing the plugin and reloading your workspace, you will see warnings and errors right there in your editor.
Integrate Prettier with your Visual Studio Code by install the Prettier plugin. After installing the plugin and reloading your workspace, you are ready to format your code right there in your editor.
For the plugin to locate the Prettier formatting rules, add the following to your user settings:
"prettier.eslintIntegration": true
Format using Command Palette:
1. CMD + Shift + P -> Format Document
OR
1. Select the text you want to Prettify
2. CMD + Shift + P -> Format Selection
Or, format on save by adding the following to your user settings:
"[javascript]": {
"editor.formatOnSave": true
}
Rule overrides should be kept to a minimum. New additions should be well motivated without personal bias.
No action is required other than merging your changes into master.
When a pull request is merged into master CircleCI will run the publish job and the following things will happen.
package.json
file with the new version number and create a change log.FAQs
ESLint config used by Acast
The npm package eslint-config-acast receives a total of 239 weekly downloads. As such, eslint-config-acast popularity was classified as not popular.
We found that eslint-config-acast demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.