eslint-config-silverwind

raw JSON →
132.0.0 verified Sat Apr 25 auth: no javascript

An exhaustive ESLint configuration package maintained by silverwind. Current stable version is 132.0.0, with frequent updates. It provides a comprehensive set of ESLint rules suitable for JavaScript and TypeScript projects. Key differentiators: includes a wrapper CLI `eslint-silverwind`, ships TypeScript type definitions, and recent versions have merged separate React and TypeScript configs into one. Peer dependencies are `eslint` and `typescript`, both required.

error Cannot find module 'eslint-config-silverwind'
cause Package not installed or peer dependencies not met.
fix
Run npm install eslint-config-silverwind eslint typescript --save-dev.
error Configuration for rule 'xxx' is invalid
cause Conflicting ESLint rule configuration.
fix
Review override rules; ensure they are compatible with this config.
breaking Configs `eslint-config-silverwind-react` and `eslint-config-silverwind-typescript` are now part of `eslint-config-silverwind`.
fix Use `eslint-config-silverwind` instead of the separate configs.
deprecated The `eslint-silverwind` CLI is recommended over running `eslint` directly.
fix Use `eslint-silverwind` command instead of `eslint`.
npm install eslint-config-silverwind
yarn add eslint-config-silverwind
pnpm add eslint-config-silverwind

Shows how to import and use the config in an eslint.config.ts file.

import silverwind from 'eslint-config-silverwind';
import { defineConfig } from 'eslint/config';

export default defineConfig(...silverwind);