@cjournois/eslint-config-ts (2.0.3)

Published 2026-11-02 06:02:19 +00:00 by cjournois

Installation

@cjournois:registry=
npm config set @cjournois:registry=
npm install @cjournois/eslint-config-ts@2.0.3
"@cjournois/eslint-config-ts": "2.0.3"

About this package

@cjournois/eslint-config-ts

One ESLint flat config (ESLint v9 and v10) tuned for AI agents: type-checked, core correctness and React hooks rules only. Formatting, and the React DOM and import checks, belong to @cjournois/biome-config-ts. Single config per entry point (no recommended/strict split), with an optional React entry.

Proprietary — Copyright (c) 2026 cjournois. All rights reserved. SPDX: UNLICENSED. See LICENSE for terms.

Install

bun add -d @cjournois/eslint-config-ts \
  @eslint/js eslint typescript-eslint

Usage

The default export is a flat-config array — spread it:

// eslint.config.js
import config from '@cjournois/eslint-config-ts';
import { defineConfig } from 'eslint/config';

export default defineConfig(
	{ ignores: ['lib', 'node_modules'] },
	...config,
);

React

bun add -d eslint-plugin-react-hooks
import config from '@cjournois/eslint-config-ts/react';

Per-repo overrides

Add extra config objects after the spread:

	...config,
	{
		files: ['src/lib/log.ts', 'scripts/**/*.ts'],
		rules: { 'no-console': 'off' },
	},
);

Source

Repository: git.journois.com/cjournois/library

Dependencies

Development dependencies

ID Version
@eslint/js 10.0.1
@stryker-mutator/core ^10.0.0
eslint 10.14.0
eslint-plugin-react-hooks 7.1.1
tsdown 0.23.4
typescript 6.0.3
typescript-eslint 8.72.1

Peer dependencies

ID Version
@eslint/js ^9 || ^10
eslint ^9 || ^10
eslint-plugin-react-hooks ^7
typescript-eslint ^8
Details
npm
2026-11-02 06:02:19 +00:00
66
2026-11-25 05:22:07 +00:00
Corentin JOURNOIS
UNLICENSED
38 KiB
Assets (1)
Versions (5) View all
2.1.3 2026-11-16
2.1.2 2026-11-12
2.1.1 2026-11-07
2.1.0 2026-11-05
2.0.3 2026-11-02