Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@aerian/eslint-config-react
Advanced tools
This is a sharable ESLint config for React. The base config is NO LONGER included by default so you will likely need to include it yourself. If you're using TypeScript, add `@aerian/eslint-config-typescript` too.
This is a sharable ESLint config for React. The base config is NO LONGER included by default so you will likely need to include it yourself. If you're using TypeScript, add
@aerian/eslint-config-typescript
too.
If you're not using React, try @aerian/eslint-config
instead. If you're using
Preact, try @aerian/eslint-config-preact
To install, run:
#npm
npm i -D eslint prettier @aerian/eslint-config @aerian/eslint-config-react
#yarn
yarn add -D eslint prettier @aerian/eslint-config @aerian/eslint-config-react
To use it, create the following .eslintrc.json:
{
"extends": ["@aerian/eslint-config", "@aerian/eslint-config-react"]
}
..or if you're using TypeScript:
{
"extends": [
"@aerian/eslint-config",
"@aerian/eslint-config-react",
"@aerian/eslint-config-typescript"
]
}
The base formatting uses Prettier, which parses and reformats your code. It runs
this through ESLint, so you can run use eslint . --fix
to apply Prettier
formatting as well as ESLint rules.
FAQs
This is a sharable ESLint config for React. The base config is NO LONGER included by default so you will likely need to include it yourself. If you're using TypeScript, add `@aerian/eslint-config-typescript` too.
The npm package @aerian/eslint-config-react receives a total of 40 weekly downloads. As such, @aerian/eslint-config-react popularity was classified as not popular.
We found that @aerian/eslint-config-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.