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.
@bidi82/eslint-config-typescript
Advanced tools
bd82's Shareable ESLint configurations for TypeScript.
bd82's Shareable ESLint configurations for TypeScript.
This extends @bidi82/eslint-config-javascript
shared configuration with additional TypeScript specific rules and settings.
There is no need to explicitly install the JavaScript configuration when using this package.
npm install --save-dev @bidi82/eslint-config-typescript
# or
yarn add --dev @bidi82/eslint-config-typescript
# or
pnpm install --dev @bidi82/eslint-config-typescript
This is an ESM only package. It exports a two eslint flat configuration objects.
withoutTypeChecks
- The basic ruleset.withTypeChecks
- extends withoutTypeChecks
@eslint-typescript rules which require type information.// eslint.config.mjs
import { withoutTypeChecks } from "@bidi82/eslint-config-typescript";
export default [
// shared config would normally be included **first**
...withoutTypeChecks,
];
// eslint.config.mjs
import { withTypeChecks } from "@bidi82/eslint-config-typescript";
export default [
// shared config would normally be included **first**
...withTypeChecks,
// The `withTypeChecks` config requires additional settings for the TypeScript parser.
// - See: https://typescript-eslint.io/getting-started/typed-linting for details
{
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
// Your project eslint configs below:
// Example of additional config for specific project `ignores`
{
ignores: ["**/out/"],
},
];
FAQs
bd82's Shareable ESLint configurations for TypeScript.
We found that @bidi82/eslint-config-typescript demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
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.