@systemix/eslint

Shareable ESLint v10 flat configs for JavaScript, TypeScript, React, Express, and Next.js. Part of the Systemix toolkit.

Installation

pnpm add -D @systemix/eslint

Usage

In your eslint.config.mjs:

import baseConfig from '@systemix/eslint/base';

export default [
  ...baseConfig,
  // your custom rules
];

Included Configs

ConfigDescription
@systemix/eslint/baseGeneral JavaScript/TypeScript projects.
@systemix/eslint/expressNode.js Express services.
@systemix/eslint/nextFull Next.js applications.
@systemix/eslint/next-minimalMinimal Next.js (no framework-specific rules).

Example: Next.js (minimal)

This demos app uses next-minimal:

import { nextMinimalConfig } from '@systemix/eslint/next-minimal.js';

export default [
  { ignores: ['postcss.config.mjs', 'next-env.d.ts'] },
  ...nextMinimalConfig,
];