
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@empathyco/eslint-config
Advanced tools
[!NOTE] The ESLint and Prettier dependencies are referenced in the package itself, so there is no needed to install them in your project.
npm i -D @empathyco/eslint-config
Create eslint.config.mjs
in your project root:
// eslint.config.mjs
import { empathyco } from '@empathyco/eslint-config'
export default empathyco()
Reference shared config file into package.json
:
{
"prettier": "@empathyco/eslint-config/prettier"
}
package.json
This is a script set that you can add to your repository:
{
"scripts": {
"lint": "eslint --fix .",
"lint:check": "eslint .",
"lint:inspect": "eslint --inspect-config .",
"format": "prettier --write .",
"format:check": "prettier --check ."
}
}
Configure the initial preset with the same parameters as expose @antfu/eslint-config
Example:
import { empathyco } from '@empathyco/eslint-config'
export default empathyco(
// Configures for empathyco's (antfu) config.
{},
// From the second arguments they are ESLint Flat Configs.
// You can have multiple configs.
{
rules: {
'vue/custom-event-name-casing': 'off',
},
},
{
files: ['**/*.spec.{ts,tsx,js,jsx}'],
rules: {
'jsdoc/check-param-names': 'off',
},
},
)
FAQs
ESLint and Prettier config preset
The npm package @empathyco/eslint-config receives a total of 1,771 weekly downloads. As such, @empathyco/eslint-config popularity was classified as popular.
We found that @empathyco/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.